![]() |
|
|
|
|
|||||||
| 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 |
| append a ' to the $1 $2 | ppass | Shell Programming and Scripting | 2 | 05-26-2008 06:59 AM |
| Append using awk | Raynon | Shell Programming and Scripting | 4 | 11-04-2007 03:19 AM |
| ftp append | brdholman | UNIX for Dummies Questions & Answers | 1 | 10-31-2007 07:02 AM |
| append to fle using sed | shweta_d | Shell Programming and Scripting | 2 | 06-12-2007 11:57 PM |
| Redirect stdout & stderr and append to a file | Santi | Shell Programming and Scripting | 2 | 01-02-2006 04:58 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Append and redirect
Can somebody please explain to me what redirection (>) and append are? What is the difference between > and >>?
Thank-you
__________________
Anna |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hi,
If you use > to redirect output to a file a new file will always be created: Using >> to redirect output to a file will only create a new file if the file doesn't exist, if the file exists then the output will be appended to the end of the file. Andy Hibbins |
|||
| Google The UNIX and Linux Forums |