1、显示当前系统上root、fedora或user1用户的默认shell;grep-E"^(root|user1|fedora)"/etc/passwd|cut-d:-f72、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@localhost~]#grep-E-o"[[:alpha:]]+\(\)"/etc/rc.d/init.d/functions
ch..
分类:
系统相关 时间:
2016-09-05 00:15:22
阅读次数:
300