bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a special variable for the directory where the script is in?


From: Peng Yu
Subject: Is there a special variable for the directory where the script is in?
Date: Fri, 12 Feb 2010 17:20:09 +1800

$0 gives the file name of the script. I could use several shell
command to get the directory where the script is in. But I'm wondering
if there is an easy-to-use variable that refers to the directory where
the script is in?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]