![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how can i run perl oneliner to excute every N seconds? | umen | Shell Programming and Scripting | 1 | 08-18-2008 12:25 PM |
| Executing file without excute permission. | ashish_uiit | UNIX for Dummies Questions & Answers | 4 | 05-08-2008 06:34 PM |
| is there any way to excute script every N seconds? | umen | Shell Programming and Scripting | 7 | 03-30-2006 04:06 AM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
| help! can't excute | hassan2 | UNIX for Advanced & Expert Users | 6 | 09-10-2002 02:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Excute file then..
I have a text file with only the command:
MyTextFile: Code:
ls -l So in my sript im trying.. Code:
sh MyTextFile.txt >> MyTextFile.txt Code:
sh MyTextFile.txt 2>1 MyTextFile.txt ![]() Im getting the output when i execute my script.. I want to see the output only when i cat the file.. |
|
||||
|
Yes! Sorry i was lazy...
I do have one more question. Code:
if [ outputfile.txt == outputfile2.txt ]; then echo "same" else echo "different" I just would like some difference to echo a true statement |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|