Created
June 14, 2018 02:45
-
-
Save goddoe/85f74a2469b6628b3059eae432b6bfc7 to your computer and use it in GitHub Desktop.
How to get the directory name of parent of parent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "$(dirname "$(dirname $PWD)")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment