which命令示例【每日一個(gè)知識(shí)點(diǎn)第341期-Linux】
which命令??用于查找某個(gè)可執(zhí)行的命令文件的位置
格式 which ?命令名稱
例如:
[root@dxl /tmp 17:13:02]# which passwd
/usr/bin/passwd
which命令??用于查找某個(gè)可執(zhí)行的命令文件的位置
格式 which ?命令名稱
例如:
[root@dxl /tmp 17:13:02]# which passwd
/usr/bin/passwd