Search Results

Search: Posts Made By: MadeInGermany
4,204
Posted By MadeInGermany
You can let the system go in then two levels out ...
You can let the system go in then two levels out
echo "$abc/../.."
Or strip two levels from the end of the pathname (this is a pure string manipulation)
echo "${abc%/*/*}"
Showing results 1 to 1 of 1

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