![]() |
|
|
|
|
|||||||
| 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 |
| how can i create a simple progress bar in shell | aditya.ece1985 | Shell Programming and Scripting | 5 | 11-30-2007 03:22 AM |
| Modifying simple commands to create a script | rocinante | Shell Programming and Scripting | 8 | 06-03-2007 06:35 PM |
| simple batch renaming...45-*.php to 46-*.php | bcamp1973 | UNIX for Dummies Questions & Answers | 2 | 11-01-2006 06:51 AM |
| batch file | ramneek | IP Networking | 1 | 11-08-2005 07:09 AM |
| How to create a simple todo file? | sierra_aar | UNIX for Dummies Questions & Answers | 4 | 02-17-2002 12:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
How to create an run a simple batch file?
Hi,
So, I created a file named TEST.BAT in my home directory. In it, I wrote: #! /bin/bash echo Hello and then, saved the file. Then, at the command-line interface, I typed TEST.BAT, but the command-line never executes the file and thus, never returns "Hello". It says "command not found". I tried various combinaisons, such as TEST, 'TEST', "TEST", 'TEST.BAT' and "TEST.BAT". I also put "exec" in front of all these commands...but it still says "command not found". Any help? |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|