niusouti.com

单选题What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()Acut -d: -f 1,3 /etc/passwdBchop -c 1,3 /etc/passwdCtac 1-3/etc/passwdDfmt -u /etc/passwd

题目
单选题
What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()
A

 cut -d: -f 1,3 /etc/passwd

B

 chop -c 1,3 /etc/passwd

C

 tac 1-3/etc/passwd

D

 fmt -u /etc/passwd


相似考题
更多“单选题What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()A  cut -d: -f 1,3 /etc/passwdB  chop -c 1,3 /etc/passwdC  tac 1-3/etc/passwdD  fmt -u /etc/passwd”相关问题
  • 第1题:

    在UNIX中保存用户信息的文件是()。

    A./etc/password

    B./etc/passwd

    C./dev/password

    D./dev/passwd


    参考答案:B

  • 第2题:

    AIX中下面哪个文件包含了对用户密码的设置信息()。

    • A、/etc/passwd
    • B、/etc/security/passwd
    • C、/etc/security/environ
    • D、/etc/security/user

    正确答案:D

  • 第3题:

    UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。

    • A、/etc/passwd,/etc/profile和/etc/group
    • B、/etc/group,/etc/profile和/etc/shadow
    • C、/etc/group,/etc/shadow和/etc/passwd

    正确答案:C

  • 第4题:

    以下哪个文件保存用户帐户的UID信息?()

    • A、/etc/users
    • B、/etc/shadow
    • C、/etc/passwd
    • D、/etc/inittab

    正确答案:C

  • 第5题:

    在UNIX中保存用户信息的文件是()。

    • A、/etc/password
    • B、/etc/passwd
    • C、/dev/password
    • D、/dev/passwd

    正确答案:B

  • 第6题:

    在UNIX中,保存用户信息的文件是()

    • A、/etc/password
    • B、/dev/password
    • C、/etc/passwd
    • D、/dev/passwd

    正确答案:C

  • 第7题:

    What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()

    • A、 cut -d: -f 1,3 /etc/passwd
    • B、 chop -c 1,3 /etc/passwd
    • C、 tac 1-3/etc/passwd
    • D、 fmt -u /etc/passwd

    正确答案:A

  • 第8题:

    如何显示Linux系统中注册的用户数(包含系统用户)?()

    • A、account-l
    • B、nl/etc/passwd
    • C、wc--users/etc/passwd
    • D、wc--lines/etc/passwd

    正确答案:D

  • 第9题:

    AIX中下面哪个文件包含了UID、HOME目录及shell信息()。

    • A、/etc/passwd
    • B、/etc/security/passwd
    • C、/etc/security/environ
    • D、/etc/security/user

    正确答案:A

  • 第10题:

    单选题
    如何将/etc/passwd这个文件的属主改变成root()。
    A

    chgrp root/etc/passwd

    B

    chown root/etc/passwd

    C

    chown test/etc/passwd

    D

    chgrp test/etc/passwd


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。
    A

    /etc/passwd,/etc/profile和/etc/group

    B

    /etc/group,/etc/profile和/etc/shadow

    C

    /etc/group,/etc/shadow和/etc/passwd


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    Unix系统中存放每个用户信息的文件是()。
    A

    /sys/passwd

    B

    /sys/password

    C

    /etc/password

    D

    /etc/passwd


    正确答案: B
    解析: 暂无解析

  • 第13题:

    linux系统中,显示文件/etc/passwd文件的5-8行,下面的命令正确的是()。

    • A、head -8 /etc/passwd
    • B、tail -8 /etc/passwd
    • C、more -8 /etc/passwd
    • D、less -8 /etc/passwd

    正确答案:A

  • 第14题:

    下面()文件中包含用户id(uid),工作目录,和登录后的shell信息。

    • A、/etc/security/passwd
    • B、/etc/security/user
    • C、/etc/security/environ
    • D、/etc/passwd

    正确答案:D

  • 第15题:

    以下哪个vi命令可以在当前位置插入/etc/passwd文本文件()。

    • A、:r/etc/passwd
    • B、:i/etc/passwd
    • C、:w/etc/passwd
    • D、:s/etc/passwd

    正确答案:A

  • 第16题:

    哪个文件中含有用户信息数据库()

    • A、/etc/user.dat
    • B、/etc/passwd.dat
    • C、/etc/users
    • D、/etc/passwd

    正确答案:D

  • 第17题:

    Linux系统中,()文件记录的用户id和组id。

    • A、/var/passwd
    • B、/var/shadow
    • C、/etc/shadow
    • D、/etc/passwd

    正确答案:D

  • 第18题:

    如何将/etc/passwd这个文件的属主改变成root()。

    • A、chgrp root/etc/passwd
    • B、chown root/etc/passwd
    • C、chown test/etc/passwd
    • D、chgrp test/etc/passwd

    正确答案:B

  • 第19题:

    Which files are managed through the use of the file collection "HACMP_Files"?()

    • A、The PowerHA Global ODM.
    • B、System networking files including /etc/hosts, /etc/inetd.conf and /etc/services
    • C、Security files including /etc/passwd, /etc/security/passwd, /etc/group and/etc/security/group
    • D、User configurable files including Application server start and stop scripts, custom pre and post notificationevents and application monitoring scripts

    正确答案:D

  • 第20题:

    Unix系统中存放每个用户信息的文件是()。

    • A、/sys/passwd
    • B、/sys/password
    • C、/etc/password
    • D、/etc/passwd

    正确答案:D

  • 第21题:

    单选题
    以下哪个vi命令可以在当前位置插入/etc/passwd文本文件()。
    A

    :r/etc/passwd

    B

    :i/etc/passwd

    C

    :w/etc/passwd

    D

    :s/etc/passwd


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    哪个文件中含有用户信息数据库()
    A

    /etc/user.dat

    B

    /etc/passwd.dat

    C

    /etc/users

    D

    /etc/passwd


    正确答案: C
    解析: 暂无解析

  • 第23题:

    单选题
    What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()
    A

     cut -d: -f 1,3 /etc/passwd

    B

     chop -c 1,3 /etc/passwd

    C

     tac 1-3/etc/passwd

    D

     fmt -u /etc/passwd


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    在UNIX中保存用户信息的文件是()。
    A

    /etc/password

    B

    /etc/passwd

    C

    /dev/password

    D

    /dev/passwd


    正确答案: A
    解析: 暂无解析