![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | 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 |
| delete n last lines of a file | ncatdesigner | Shell Programming and Scripting | 7 | 05-17-2008 07:07 AM |
| delete first 100 lines from a file | salaathi | SUN Solaris | 3 | 11-15-2007 12:01 AM |
| delete first 100 lines rather than zero out of file | thepurple | SUN Solaris | 7 | 11-14-2007 09:35 AM |
| delete the lines from file | sameersam | Shell Programming and Scripting | 2 | 04-03-2006 10:32 PM |
| Delete lines in a file | umal | Shell Programming and Scripting | 6 | 02-08-2006 09:08 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
delete all lines in file
how can i delete all lines in file by using "vi" ?
|
| Forum Sponsor | ||
|
|
|
|||
|
touch a_new_empty_file.txt
will create a null file, or will change the last_access_time on that file. > the_file_I_want_nothing_in.txt will both empty a full file or create a null file. -mk
__________________
If it aint broke, Fix it till it is. |