![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk print the next line on the current line | ajp7701 | Shell Programming and Scripting | 5 | 05-25-2009 12:17 PM |
| print line whatever line i want in a file... there any way | kittusri9 | Shell Programming and Scripting | 1 | 05-15-2008 12:37 PM |
| how to make a line BLINKING in output and also how to increase font size in output | mail2sant | Shell Programming and Scripting | 3 | 04-14-2008 07:30 AM |
| How do i print this output all on the same line? | rcon1 | UNIX for Dummies Questions & Answers | 1 | 02-05-2008 10:52 AM |
| Print file line by line | handak9 | Shell Programming and Scripting | 2 | 10-20-2005 08:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
locating the line and print the output
hi all,
I would like to know , if a file contains say 100 lines, and if i want to locate the 54th line and print the output , how to do it?? for eg , if a file details.txt which contains say 100 entries like admin .................... rajes .................... test .................. welcome .................... admins ..................... ..... .... .... ... .... I dont want to use grep command.. pls help. |
|
||||
|
cuting the entries from one file and copy to other
here i found that , i can locate the line numbers and copy to another file,
but i want the data which i had copied to another file, shd be removed from the parent file.. eg file a has 1000 rows sed -n '500,1000p' a >> b b has 501 and a has 1000 still, i want file 'a' to be having 499 only how is it possible |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|