![]() |
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 |
| how do I start a script in run level 3 in solaris? | mokkan | SUN Solaris | 4 | 12-04-2007 12:44 PM |
| need shell script that checks your user id and your permission level | yammer | UNIX for Dummies Questions & Answers | 3 | 11-19-2007 07:17 PM |
| Box A's perl script calling box B's shell script | new2ss | Shell Programming and Scripting | 1 | 09-13-2006 06:17 AM |
| calling dos2unix on shell script from within the script | vino | Shell Programming and Scripting | 4 | 04-08-2005 03:38 AM |
| Script that modifies root level files | turbo90awd | Shell Programming and Scripting | 10 | 06-19-2003 11:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
calling a script from a level above where the script resides
is there anyway to call a script that executes a script on the same level from a higher level
i.e. level1/level2/ kp1script kp2script kp1script (./kp2) kp2script (echo "Hi world") level1/level/2/level3/ ../kp1script ../kp1script: ./kp2script: not found cheers in advance (the scripts actually contatin menus) cheers in advance |
|
||||
|
Yes, but you would need either to put that directory on the PATH or use the appropriate .. or whatever to point to the correct directory containing kp2script. You could change the PATH and have the change only local to the running of your script of course.
|
|
||||
|
hi porter yeah I understand that but we are trying to avoid using relative paths
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|