ch2 須要掌握的命令linux
(1)cat -n 1.txtblog
(2)more 1.txtit
(3)head -n 15 initial-setup-ks.cfgfile
(4)tail -n 17 initial-setup-ks.cfg;tail -f initial-setup-ks.cfggrep
(5)cat -n anaconda-ks.cfg | tr [a-z] [A-Z]im
(6)wc -l /etc/passwdtouch
(7)stat anaconda-ks.cfgimg
(8)cut -d: -f1 /etc/passwddi
(9)diff --brief a.txt b.txt;diff -c a.txt b.txt文件
ch2.7
(1)touch linuxprobe文件
(2)mkdir linuxprobe目錄
(3)cp
(4)mv
(5)rm -f;rm -rf
(6) dd
(7)file
ch2.8
(1)tar czvf 1.tar.gz /rtc
(2)grep /sbin/nologin /etc/passwd
(3)find /etc -name "host"