![]() |
|
|
|
|
|||||||
| 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 |
| Help needed in sed | Alecs | Shell Programming and Scripting | 1 | 06-14-2008 10:46 AM |
| while loop inside while loop | panknil | Shell Programming and Scripting | 0 | 01-07-2008 09:49 AM |
| NEED HELP PLZ! While Loop script needed! | scoobydoo | Shell Programming and Scripting | 1 | 03-02-2005 09:56 PM |
| little help needed with my awk | thewizard | Shell Programming and Scripting | 5 | 03-09-2004 01:49 PM |
| how to get the similar function in while loop or for loop | trynew | Shell Programming and Scripting | 3 | 06-17-2002 08:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
i want to direct the out put return from the FOR loop statement to any log file. code copied below. for file in `ls *.in` do ... ... done if there is no file then i need to write the log to one file. Thanks Arun |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Within the loop:
Code:
echo "$file" >> logfile |
|
#3
|
|||
|
|||
|
Hello,
I am new bee for unix, plz help me out for reading the content of file. using shell scripts. |
|
#4
|
|||
|
|||
|
hi.. try this
for condition do -- -- done > file_name |
|||
| Google The UNIX and Linux Forums |