第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

whereis ls 和whereis cd 的結果是一樣的,都有執(zhí)行命令,幫助文件的位置,但是help cd有結果,help ls無結果,具體看下面的命令

[root@VM_0_14_centos ~]# whereis ls ? ? ?/////////查找ls,存在執(zhí)行文件位置以及幫助文件位置

ls: /usr/bin/ls /usr/share/man/man1/ls.1.gz

[root@VM_0_14_centos ~]# whereis cd ? ///////查找 cd,一樣的結果

cd: /usr/bin/cd /usr/share/man/man1/cd.1.gz

[root@VM_0_14_centos ~]# man cd


[6]+ ?Stopped ? ? ? ? ? ? ? ? man cd

[root@VM_0_14_centos ~]# man cd?


[7]+ ?Stopped ? ? ? ? ? ? ? ? man cd

[root@VM_0_14_centos ~]# help cd ? ///////help cd,可以查找出來

cd: cd [-L|[-P [-e]]] [dir]

? ? Change the shell working directory.

? ??

? ? Change the current directory to DIR. ?The default DIR is the value of the

? ? HOME shell variable.

? ??

? ? The variable CDPATH defines the search path for the directory containing

? ? DIR. ?Alternative directory names in CDPATH are separated by a colon (:).

? ? A null directory name is the same as the current directory. ?If DIR begins

? ? with a slash (/), then CDPATH is not used.

? ??

? ? If the directory is not found, and the shell option `cdable_vars' is set,

? ? the word is assumed to be ?a variable name. ?If that variable has a value,

? ? its value is used for DIR.

? ??

? ? Options:

? ? ? ? -L force symbolic links to be followed

? ? ? ? -P use the physical directory structure without following symbolic

? ? links

? ? ? ? -e if the -P option is supplied, and the current working directory

? ? cannot be determined successfully, exit with a non-zero status

? ??

? ? The default is to follow symbolic links, as if `-L' were specified.

? ??

? ? Exit Status:

? ? Returns 0 if the directory is changed, and if $PWD is set successfully when

? ? -P is used; non-zero otherwise.

[root@VM_0_14_centos ~]# help ls ? //////help ls,無結果

-bash: help: no help topics match `ls'. ?Try `help help' or `man -k ls' or `info ls'.

疑問:為什么help cd有結果,whereis cd的結果于whereis ls 的結果是一樣的

正在回答

4 回答

我的是6.3,沒有這個問題

0 回復 有任何疑惑可以回復我~

你可以man ls ,ls不是內(nèi)置命令所以help查找不到的

0 回復 有任何疑惑可以回復我~

可以用“type 命令”來看,更直觀。

別問為什么,我也是centOs7.

0 回復 有任何疑惑可以回復我~

CentOS7把cd也放進bin目錄里了

1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

whereis ls 和whereis cd 的結果是一樣的,都有執(zhí)行命令,幫助文件的位置,但是help cd有結果,help ls無結果,具體看下面的命令

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號