tail -n+20 server.log in Solaris?
Hi,
The following command I use in RedHat-Linux Code:
tail -n+20 server.log Code:
usage: tail [+/-[n][lbc][f]] [file] |
Have you tried:
Code:
tail -20 server.log |
I use the tail +20 server.log now.
Tail -20 is different from tail +20 |
Just remembered something: Which tail executable are you using?
If I recall correctly the /usr/xpg4/bin/tail version has the same options as the linux version. If that is the case then the following should work: Code:
/usr/xpg4/bin/tail -n+20 server.log Code:
sed -n '5,$p' server.log |
All times are GMT -5. The time now is 04:28 PM. |