linux命令cd介绍(6)

    Read

cd是linux的内建命令,用于目录之间的切换;
参数:

-P:当目录是软连接的时候,切换的物理真实路径
-L:当目录是软链接的时候,依然使用软链接路径 SourceByrd's Weblog-https://note.t4x.org/rebuilding/cd-command-description/

用法:SourceByrd's Weblog-https://note.t4x.org/rebuilding/cd-command-description/

[root@Test5 tmp]# cd --help
-bash: cd: --: invalid option
cd: usage: cd [-L|-P] [dir] SourceByrd's Weblog-https://note.t4x.org/rebuilding/cd-command-description/

案例:

SourceByrd's Weblog-https://note.t4x.org/rebuilding/cd-command-description/ SourceByrd's Weblog-https://note.t4x.org/rebuilding/cd-command-description/
Today in History
December
13
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on December 13, 2017
  • 原文链接:https://note.t4x.org/rebuilding/cd-command-description/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: