| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|head and tail commands|
i wanted to as to how can i display the lines 25 through 75 lines using head,tail commands.as using head or tail we cannot give the range.
$tail +25 abc.sh
please reply to me at the earliest.
If you have to use the head and tail command just do this...
head -75 <file> ¦ tail -50
Real unix people use sed:
sed -n 25,75p you-file-here
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved