![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing scripts in Parallel | itsme_maverick | Shell Programming and Scripting | 2 | 06-06-2008 12:23 PM |
| executing scripts by reading names from a file | konark | Shell Programming and Scripting | 3 | 11-08-2007 02:28 AM |
| Difference between writing Unix Shell script and AIX Shell Scripts | haroonec | AIX | 0 | 04-12-2006 03:27 AM |
| executing variables in ksh scripts? | zedmelon | Shell Programming and Scripting | 3 | 08-06-2003 02:50 PM |
| executing perl scripts | vtran4270 | UNIX for Advanced & Expert Users | 2 | 08-27-2002 03:28 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Executing Shell Scripts
Hi, I'm pretty new to Unix and I just have a question concerning making a script executable without putting the "sh" command before it. In case it makes the difference I am on an Apple computer using the Terminal. Anyway here is the little test code I wrote followed by the commands I took to try to make it executable on its own.
Script #! /bin/sh # comments echo "blah" heh that's it, it works when I do enter sh Script now then the code I tried to use to execute it chmod u+x Script pwd ; echo $PATH and though no errors came up, it didn't work. So any insight would be really appreciated. Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|