[root@ACC-1 ~]# cd /bin
[root@ACC-1 bin]# ls
alsaunmute env mkdir sh
dumpkeys ls rview zcat
[root@ACC-1 bin]# file ls
ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
[root@ACC-1 bin]# whereis ls
ls: /bin/ls /usr/share/man/man1p/ls.1p.gz /usr/share/man/man1/ls.1.gz
[root@ACC-1 bin]# mv ls lls
[root@ACC-1 bin]# echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
-bash: /bin/ls: 没有那个文件或目录[root@ACC-1 bin]# echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[root@ACC-1 bin]# ls
[root@ACC-1 bin]# service network restart
/etc/init.d/network: line 48: ls: command not found
/etc/init.d/network: line 48: ls: command not found
关闭环回接口: [确定]
/etc/init.d/network: line 48: ls: command not found
弹出环回接口: [确定]
[root@ACC-1 bin]# service sshd restart
停止 sshd: [确定]
正在启动 sshd: [确定]
[root@ACC-1 bin]# mv lls ls
[root@ACC-1 bin]# service network restart
正在关闭接口 bond0: [确定]
正在关闭接口 eth2: [确定]
关闭环回接口: [确定]
弹出环回接口: [确定]
弹出界面 bond0: Determining if ip address 168.192.11.31 is already in use for device bond0...
[确定]
弹出界面 eth2: Determining if ip address 168.192.13.31 is already in use for device eth2...
[确定]
[root@ACC-1 bin]# service sshd restart
停止 sshd: [确定]
正在启动 sshd: [确定]
[root@ACC-1 bin]#