![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| print line whatever line i want in a file... there any way | kittusri9 | Shell Programming and Scripting | 1 | 05-15-2008 09:37 AM |
| How to print 3rd to last line of file? | NivekRaz | Shell Programming and Scripting | 2 | 09-10-2007 05:04 PM |
| how to print out line numbers of a text file? | forevercalz | Shell Programming and Scripting | 4 | 12-12-2005 01:04 AM |
| Print file line by line | handak9 | Shell Programming and Scripting | 2 | 10-20-2005 05:44 AM |
| Print one line of Existing File | danhodges99 | UNIX for Dummies Questions & Answers | 2 | 02-25-2003 07:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
how to print 35th line from a file ?
Hi All,
I am a newbie.I hope I will learn lot here. Thanks for buliding such a resourceful forum. My question : I want to print just the 35th line in a file , how can I do it , any smallest possible script please? |
| Forum Sponsor | ||
|
|
|
|||
|
Hi Shell_Life,
Thanks for quick reply. It worked ! could you please explain me the logic behind the implementation of the command ? OR you can direct me to links/sources where I can read about it . Quote:
|
|
|||
|
Quote:
This would still continue validating even after the 'n'th line has been selected and printed. Hence IMHO exit should be used ! |
|||
| Google The UNIX and Linux Forums |