Is there a bash command that takes a file path as input and returns an absolute file path? More specifically, I need a command that takes a path such as:
/tmp/yaneeve/kit/linux/../../output/kit/SOURCES//usr//apps/myapp/lib
and returns the path:
/ tmp / yaneeve / output / kit / SOURCES / usr / apps / myapp / lib
Thanks!
source
share