10 Sep
2001
10 Sep
'01
19:31
Hi everybody,
I'm searching for a command that allow me to print only one line of stout. Maybe awk but i can't find how
Thank you very much.
Charlie Ti
If you mean the first line you could try head -1 <filename> For the fith line you could use a combination of tail and head like this tail +5 <filename> | head -1 If you mean the last line you could try tail -1 <filename> For any other line use your imagination :-) /Stefan