[root@192 ~]# cp /etc/passwd /tmp
[root@192 ~]# cd tmp
bash: cd: tmp: 没有那个文件或目录
[root@192 ~]# cd /etc
[root@192 etc]# ls tmp
ls: 无法访问 'tmp': 没有那个文件或目录
[root@192 etc]# ls /tmp
passwd
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-bluetooth.service-hvaPhh
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-chronyd.service-qnqgeA
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-colord.service-mZL9Fx
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-dbus-broker.service-IfDAUd
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-fwupd.service-gHPxsF
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-kdump.service-yS97Sf
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-ModemManager.service-NCVrRS
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-power-profiles-daemon.service-kjKLow
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-rtkit-daemon.service-cBL3IS
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-switcheroo-control.service-sPuYbl
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-systemd-logind.service-eWsx2J
systemd-private-f9df47dd6f3c4c09bf4a2a759bc088b3-upower.service-OXVtF8
vmware-root_876-2689209388
vmware-root_893-3988097506
[root@192 etc]# cd ~
[root@192 ~]# cp /etc/group /tmp
[root@192 ~]# cp /etc/gshadow /tmp
[root@192 ~]# mkdir /tmp/container
[root@192 ~]# cd tmp
bash: cd: tmp: 没有那个文件或目录
[root@192 ~]# cd /tmp
[root@192 tmp]# mv passwd group gshadow /container
mv: 目标'/container' 不是目录
[root@192 tmp]# mv passwd group gshadow container
[root@192 tmp]# cd container
[root@192 container]# mv passwd 1
[root@192 container]# mv group 2
[root@192 container]# mv gshadow 3
[root@192 container]# 1 > 2
bash: 1: command not found...
[root@192 container]# cp 1 2
cp:是否覆盖'2'?
[root@192 container]# cat 1 2 3 > 4
[root@192 container]# ls 4
rhcsa练习题
最新推荐文章于 2024-11-09 22:46:56 发布