Search Results

Search: Posts Made By: Witty
7,354
Posted By Witty
Bash string variable manipulation
In a bash script I've set a variable that is the directory name of where an executable lives.

the_dir=`dirname $which myscript`

which equates to something like "/path/to/dir/bin"

I need to...
Showing results 1 to 1 of 1

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