编辑 /etc/profile 后,写入的变量有问题,导致系统不识别命令,可采用
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
即生效,
linux使用7zip
p7zip-9.20.1-1.el4.rf.i386.rpm 4.6M RHEL4 and CentOS-4 x86 32bit p7zip-9.20.1-1.el4.rf.x86_64.rpm 4.7M RHEL4 and CentOS-4 x86 64bit p7zip-9.20.1-1.el5.rf.i386.rpm 4.2M RHEL5 and CentOS-5 x86 32bit p7zip-9.20.1-1.el5.rf.x86_64.rpm 4.3M RHEL5 and CentOS-5 x86 64bit p7zip-9.20.1-1.el6.rf.i686.rpm 3.8M RHEL6 and CentOS-6 x86 32bit p7zip-9.20.1-1.el6.rf.x86_64.rpm 3.9M RHEL6 and CentOS-6 x86 64bit
wget
http://pkgs.repoforge.org/p7zip/p7zip-plugins-9.20.1-1.el5.rf.i386.rpm
rpm -ivh p7zip-9.20.1-1.el5.rf.i386.rpm
本文出自 “Permanent” 博客,请务必保留此出处http://ericklee.blog.51cto.com/6941516/1384595
-bash: ls: command not found,布布扣,bubuko.com
原文:http://ericklee.blog.51cto.com/6941516/1384595