linux命令cd介绍(6)

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

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

用法:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/rebuilding/cd-command-description/

[root@Test5 tmp]# cd --help
-bash: cd: --: invalid option
cd: usage: cd [-L|-P] [dir] 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/rebuilding/cd-command-description/

案例:

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/rebuilding/cd-command-description/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/rebuilding/cd-command-description/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

On this day in past years
December
13
 
Byrd
  • by Published onDecember 13, 2017
  • 原文链接:https://note.t4x.org/rebuilding/cd-command-description/
匿名

Comment

Anonymous

Slide puzzle verification.