Linux—day 4
ch2 需要掌握的命令 (1)cat -n 1.txt (2)more 1.txt (3)head -n 15 initial-setup-ks.cfg (4)tail -n 17 initial-setup-ks.cfg;tail -f initial-setup-ks.cfg (5)cat -n anaconda-ks.cfg | tr [a-z] [A-Z] (6)wc -l /etc/passwd (7)stat anaconda-ks.cfg (8)cut -d: -f1 /etc/passwd (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" 来源: https://my.oschina.net/u/4251328/blog/3130231