![]() |
|
|
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 |
| Is there a way to tell how long does a shell script's execution take? | meili100 | UNIX for Dummies Questions & Answers | 4 | 02-25-2008 07:49 AM |
| How to use shell script's to get EPG Program with SED | single | Shell Programming and Scripting | 3 | 11-07-2007 12:56 PM |
| Monitoring a directory for new files with .xx and executing command if found | krkan | Shell Programming and Scripting | 4 | 03-14-2006 11:16 PM |
| general question on executing file in drwx--x--x directory | cul8erppl | Shell Programming and Scripting | 2 | 07-20-2005 05:19 AM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 09:42 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Executing script's directory
I have a shell script /home/user1/bin/sh1, how can I print out the directory of this file inside the script.
Say I am in /home/user1/, then I run /home/user1/bin/sh1 I need it to print out /home/user1/bin. Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|