LoginSignup
1
2

More than 5 years have passed since last update.

シェルスクリプトでの絶対パス取得

Last updated at Posted at 2018-01-16

これで解決

$ readlink -f <相対パス>

このように使う。

$ readlink -f ./a/b/c/hoge
/home/user01/a/b/c/hoge
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2