要求 :
#08查看系统合法shell
#09查看系统发行版版本
#10查看系统内核版本
#11临时修改主机名
#12查看系统指令的查找路径
#13查看passwd指令的执行路径
#14为/yasuo/ssh_config文件在/mulu目录下创建软链接,软链接名称为ssh_config.link
ln -s /yasuo/ssh_config /yasuo/ssh_config.link
#15创建目录/mulu ,重命名并移动/ssh_config.link
#16找到你的根目录下的所有块设备文件
#17将/etc/passwd和/etc/ssh/sshd_config文件复制到/root/etc/目录下
#18复制/var/log/messages到/root目录下
完成构图
#08查看系统合法shell
[rootalocalhost ~]# cat /etc/shells
#09查看系统发行版版本
[rootalocalhost ~l# cat /etc/redhat-release
#10查看系统内核版本
[rootalocalhost ~]# uname -r
#11临时修改主机名
[rootalocalhost ~]# hostname xixi
#12查看系统指令的查找路径
[rootalocalhost ~]#echo $PATH
#13查看passwd指令的执行路径
[rootalocalhost ~]# whiich passwd
#14为/yasuo/ssh_config文件在/mulu目录下创建软链接,软链接名称为ssh_config.link
ln -s /yasuo/ssh_config /yasuo/ssh_config.link
[rootalocalhost ~ ] # mkdir -p /mulu
[rootalocalhost ~] # ln -s /yasuo/ssh_config /mulu/ssh_config.link
#15创建目录/mulu ,重命名并移动/ssh_config.link
[rootalocalhost ~ ] #my /mulu/ssh config.link /root/ssh config.link
#16找到你的根目录下的所有块设备文件
[rootalocalhost ~ ] # find -type b
#17将/etc/passwd和/etc/ssh/sshd_config文件复制到/root/etc/目录下
[rootalocalhost ~ ] # mkdir /root/rtc
[rootalocalhost ~ ] # cp /etc/passwd /etc/ssh/sshd config /root/rtc
#18复制/var/log/messages到/root目录下
[rootalocalhost ~ ] # cp /var/log/messages /root/