If you want to print just the directory that the script is located in do (cd $(dirname $0); pwd) if you want the full path to the script then this will suffice echo $(cd $(dirname $0); pwd)/$(basename $0) -- Kathryn http://womensfooty.com
If you want to print just the directory that the script is located in do (cd $(dirname $0); pwd) if you want the full path to the script then this will suffice echo $(cd $(dirname $0); pwd)/$(basename $0) -- Kathryn http://womensfooty.com