Search Results

Search: Posts Made By: cwalsek
9,473
Posted By cwalsek
Determining directory path
Hello,

I have a script where I get the full directory path of the script being executed:

BASE=$0
echo "BASE:" $BASE

The output looks like this:
BASE: /webapps/appsdev/ACURA/rlz/oses3.sh...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy