将passwd文件中包含的root字符在终端窗口中显示输出的命令是( )。
A: find password -name root
B: grep root password
C: grep password root
D: find root -name password
A: find password -name root
B: grep root password
C: grep password root
D: find root -name password
举一反三
- 将passwd文件中包含的root字符在终端窗口红显示输出的命令是( )。 A: find passwd -name root B: grep root passwd C: grep passwd root D: findroot -name passwd
- 【单选题】使用 grep 命令将 /etc/passwd 中包含 root 单词的行显示出来 A. grep * /etc/passwd root B. grep /etc/passwd root C. find root /etc/passwd D. grep root /etc/passwd
- 把文件/etc/passwd所有含root的行显示出来 A: find root /etc/passwd B: grep root /etc/passwd C: cat /etc/passwd | grep root
- 在Linux操作系统中,若要在/etc/vsftpd.conf文件搜索含有root的行,可使用 命令。 A: find /etc/vsftpd.conf -name root B: find /etc/vsftpd.conf -size root C: grep root /etc/vsftpd.conf D: grep /etc/vsftpd.conf root
- 【单选题】在/etc/passwd文件中查找root用户信息,命令正确的是() A. grep “root” /etc/passwd B. grep “^root” /etc/passwd C. grep “ D. grep “[^root]” /etc/passwd