dflx@dflx:~$ echo $PATH
/home/dflx/anaconda3/bin:/opt/hadoop-2.7.5/bin:/opt/hadoop-2.7.5/sbin:/opt/java8/jdk1.8.0_151/bin:/home/dflx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dflx@dflx:~$ java -version
java version "1.8.0_151"
/home/dflx/anaconda3/bin:/opt/hadoop-2.7.5/bin:/opt/hadoop-2.7.5/sbin:/opt/java8/jdk1.8.0_151/bin:/home/dflx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dflx@dflx:~$ java -version
java version "1.8.0_151"
2018-07-07
dflx@dflx:~$ whereis pwd
pwd: /bin/pwd /usr/include/pwd.h /usr/share/man/man1/pwd.1.gz
dflx@dflx:~$ whoami pwd
whoami: 额外的操作数 "pwd"
Try 'whoami --help' for more information.
dflx@dflx:~$ whatis pwd
pwd (1) - print name of current/working directory
pwd: /bin/pwd /usr/include/pwd.h /usr/share/man/man1/pwd.1.gz
dflx@dflx:~$ whoami pwd
whoami: 额外的操作数 "pwd"
Try 'whoami --help' for more information.
dflx@dflx:~$ whatis pwd
pwd (1) - print name of current/working directory
2018-07-07
已采纳回答 / fancy多多
其实我也想问这个问题。两个日志的那个文件都没有。只有一个anaconda.cfg文件。但是我已经学了很多节课。命令的操作这里还涉及不到,你可以学学先。但同样希望老师回答下,是不是我们装的有问题
2018-07-07
最赞回答 / qq_Blackhat_03354615
你用是centos 7吧 默认没有配置set up命令的,要更新!! yum -y install setuptool
安装setup命令工具 yum -y install ntsysv
安装setup工具配套的系统服务组件 yum -y install system-config-securitylevel-tui 安装setup工具配套的防火墙配置组件
yum -y install system-config-network-tui 安装setup工具配套的网络配置组件
yum -...
2018-07-06
最新回答 / qq_Blackhat_03354615
输入命令ifup eth0 每次重新开机都要这样,修改配置文件 vim /etc/sysconfig/network-scripts/ifcfg-eth0 按:wq退出保存,输入命令 service network restart 就可以了!<...图片...>
2018-07-05