![]() |
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 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 !! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I created a simple script and attempted to run it. All that the scrip contained was "ls -l".
At first I received the message "ksh: run_dir: not found" I then tried typing "csh run_dir" This time the script worked. typing echo $SHELL produced /bin/ksh I would like to understand why this happened. thank you for your help |
|
||||
|
PATH variable
Your PATH variable may not be properly set up. If your working directory is /home/susan - set this in your '.profile' file,
Code:
export PATH=$PATH:/home/susan/ |
|
||||
|
current dir
'.' - means the current directory. Since the script is in the current directory, ./run_dir amounts to giving the complete path of the script to be run.
|
| Sponsored Links | ||
|
|