linux命令-realpath
source link: https://davidchan0519.github.io/2019/08/21/linux-cmd-realpath/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
linux命令-realpath
Posted on
2019-08-21
| Views: 39
介绍一个命令,方便查看指定文件的绝对路径:realpath
使用方式:
$realpath file
lwang@lwang-MS-7984:~/work/chengw/test/go_mod/hello$ realpath hello.go
/home/lwang/work/chengw/test/go_mod/hello/hello.go
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK