![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Maintain full path of a script in a var when sourcing it from a different script | mrbluegreen | Shell Programming and Scripting | 4 | 03-19-2008 10:31 PM |
| How to check path exist or not in UNIX shell script | suneelc | UNIX for Dummies Questions & Answers | 3 | 01-22-2008 08:36 AM |
| problem in getting the path of environment variable set in bashrc in my shell script | krithika | Shell Programming and Scripting | 8 | 05-26-2006 09:19 AM |
| mistyped shell path, now i can't login as the only user that can su to root | xyyz | UNIX for Dummies Questions & Answers | 3 | 10-22-2002 05:35 PM |
| Set Path variable in c shell | hassan2 | Shell Programming and Scripting | 5 | 04-28-2002 01:08 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
getting a shell script to know it's path
Is it possible in Bash (or any other shell) to get a shell script to know it's own path without having to be part of $PATH or anything like that.
I need this cos i want the script to be able to rename the directory in which it resides. is this possible? |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|