![]() |
|
|
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 |
| append a text to a file every month | depakjan | UNIX for Dummies Questions & Answers | 1 | 06-30-2009 05:20 AM |
| Displaying text file in browser - perl | Dabheeruz | Shell Programming and Scripting | 3 | 12-11-2008 08:28 PM |
| Displaying text file in browser - perl | Dabheeruz | Shell Programming and Scripting | 1 | 12-11-2008 08:10 PM |
| Append text at end of the first line in a file | catgovind | Shell Programming and Scripting | 7 | 05-01-2008 08:33 AM |
| how to append text into a file. | beilstwh | Shell Programming and Scripting | 2 | 03-06-2007 05:51 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How can I append a text at end of file after displaying the file
I have a file "sample.txt" with the content as below:
Hi This is a Sample Text. I need a single command using cat which serve the following purpose. 1.display the contents of sample.txt 2.append some text to it 3. and then exit But, all should be served by a sinle command. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|