Getting the full path name of a given directory
coreutils
' realpath
does the trick:
realpath subdir
and it works however the directory (or file) is specified:
realpath /blah/blah2/subdir
realpath ../blah2/subdir
coreutils
' realpath
does the trick:
realpath subdir
and it works however the directory (or file) is specified:
realpath /blah/blah2/subdir
realpath ../blah2/subdir