$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?
- Is there a special variable for the directory where the... Peng Yu
- Re: Is there a special variable for the directory ... Chris F.A. Johnson
- Re: Is there a special variable for the direct... Eric Blake
- Re: Is there a special variable for the di... Chris F.A. Johnson