| | |
how do i run the shell script?
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Oct 2007
Posts: 399
Reputation:
Solved Threads: 47
Hey there,
You can also place it in a directory in your PATH, after you make it executable, so you can run it from anywhere.
I dont' recommend adding a dot to your PATH, but just do
echo $PATH
and copy your script into one of those directories and you can just run it by calling its name wherever you are on the filesystem
, Mike
You can also place it in a directory in your PATH, after you make it executable, so you can run it from anywhere.
I dont' recommend adding a dot to your PATH, but just do
echo $PATH
and copy your script into one of those directories and you can just run it by calling its name wherever you are on the filesystem

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
![]() |
Similar Threads
- How to su properly in a shell script (Shell Scripting)
- run program and rename file script help please (Shell Scripting)
- shell script as a daemon (Shell Scripting)
- Shell Script Issue (Shell Scripting)
- help with shell script padding files with spaces (Shell Scripting)
- Linux Shell Script needs help writing program (Shell Scripting)
- Problem with variables in Windows shell script (Windows NT / 2000 / XP)
- Using find in a bash shell script (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: Script question
- Next Thread: Example BASh assignments
Views: 1381 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting






