1、顯示/boot/grub/grub.conf中以至少一個空白字符開頭的行; ~]# grep “^[[:space:]]\{1,\}” /boot/grup/grup.conf &…
第五周作業 1、顯示當前系統上root、fedora或user1用戶的默認shell; grep "^\(root|fedora|user1\)" /etc/passwd | cut -d: -f7 2、找出/etc/rc.d/init.d/functions文件中某單詞后面跟一組小括號的行,形如:hello(); grep "…