![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| file handling | ninjanesto | High Level Programming | 2 | 12-27-2006 08:35 AM |
| File Handling in C | trinath | High Level Programming | 3 | 01-19-2006 08:00 PM |
| File handling in UNIX | VENC22 | UNIX for Dummies Questions & Answers | 4 | 05-17-2005 11:29 PM |
| file handling across servers | raguramtgr | UNIX for Dummies Questions & Answers | 3 | 02-25-2004 09:09 AM |
| KSH File Handling | madtim | Shell Programming and Scripting | 2 | 08-27-2002 11:08 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how can i write content of a variable to a file?
how can i read standard output into a variable? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
# how can i write content of a variable to a file? echo "$myvariable" > myfile # start echo "$myvaririable" >> myfile # append #how can i read standard output into a variable? # output from ls command stdout into variable myvar=$( ls ) |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|