February 28th, 2011, 03:20 PM
Join Date: Nov 2010
Time spent in forums: 3 h 51 m 59 sec
Reputation Power: 0
Is there a "revese" flag in unix tail command?
iv'e been given a homework assignment in which i should
among other things print a part of a text file backwards from the end using the unix command TAIL with some reverse flag
i searched in the man page and did not find such flag,
then googled it and found the following :
tail [+ number] [-l] [-b] [-c] [-r] [-f] [-c number | -n number] [file]
where -r is the reverse flag
but when i run "tail -r myfile.txt"
in the termial i get "tail: invalid option -- 'r' "
so is it becouse my unix is too old or somthing?
or what is going on with that ?
and im using xubuntu 10.10 on virtual machine if it matters