| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Oftentimes I need to print, say, the 4th line from the end of an output stream. I've been using constructs of the sort cat file | tail -4 | head -1 Is there a more elegant tool / approach (sed/awk/head/tail whatever!)? -- Rahul |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.