![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| executing uname through shell script | HIMANI | UNIX for Dummies Questions & Answers | 3 | 10-11-2007 06:47 AM |
| executing a SQL query in shell script | lijju.mathew | Shell Programming and Scripting | 1 | 05-17-2007 11:29 AM |
| Executing a Shell Script | igandu | UNIX for Dummies Questions & Answers | 4 | 08-17-2006 10:29 AM |
| executing shell script from the cron | abNORMal | HP-UX | 2 | 06-15-2006 02:54 PM |
| Executing a SQL query from a shell script | 98_1LE | UNIX for Dummies Questions & Answers | 3 | 03-23-2002 03:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I am trying to execute the below shell script: script name(ss1). ss1 was given permission - 744 before executing. name: ss1 #ss1 #usage:ss1 ls who pwd :wq I tried to execute $ss1 (Enter) Its not executing.... It says that ss1 is not found: echo $SHELL. The o/put i got is /sbin/sh. What should i have to do inorder the shell script to be executing. Thanks |
|
|||||
|
Also, it looks as if you're doing this whilst being logged in as root as your shell is /sbin/sh
I would strongly discourage you being logged in as root uneccessarily, especially if you are new to UNIX, as a wayward moment on the command line can lead to a completely useless system. Cheers ZB |
|
||||
|
Have you done a "chmod +x <filename>" ?
I'm not sure that the file would be executable with chmod 744... (I'm sure someone will tell me if I'm wrong )(edit) Actually on second thoughts, the error message would be along the lines of "file not executable" if that was the case... |
| Sponsored Links | ||
|
|