单选题 Linux系统中,用户的基本信息,如用户名、家目录和默认shell等,被保存在以下哪个文件中?

A、 /etc/shadow
B、 /etc/passwd
C、 /etc/group
D、 /etc/gshadow
下载APP答题
由4l***2q提供 分享 举报 纠错

相关试题

单选题 openEuler系统中,加密后的用户密码保存在下列哪个文件中?

A、/etc/group
B、/etc/passwd
C、/etc/shadow
D、/etc/gshadow

单选题 以下哪条命令不能卸载DevelopmentTools-软件包组?()

A、yum remove "Development Tools"
B、dnf groups remove "Development Tools"
C、yum groups remove "Development Tools"
D、dnf groupremove "Development Tools"

单选题 以下选项中哪条命令可以查看vsftpd服务是否开机自动启动?

A、systemctl list-units --type service --all
B、systemctl list-unit-files | grep vsftpd
C、systemctl list-units --type service
D、systemctl is-active vsftpd

单选题 根据下图中dnfconfig - manager命令的帮助信息,以下选项中,哪条命令可以查看repoid为local的软件仓库配置信息?

A、dnf config - manager --dump
B、dnf repolist local
C、dnf config - manager --dump local
D、dnf repolist

单选题 以下选项中哪条命令可以列出当前系统可用的软件仓库?

A、yum deplist
B、yum repolist
C、yum list
D、yum grouplist

单选题 分析以下shell脚本,$1是以下哪个值时,执行该脚本后,系统会返回"IsNumber"?(是数字,此题缺图)

A、10
B、11
C、1~
D、1<

单选题 以下选项中,哪条命令可以同时截取/etc/passwd文件中的用户名和用户shell?

A、awk -F: '{ print $$1,$$NF }' /etc/passwd
B、awk -F: 'print $$1,$$NF' /etc/passwd
C、awk '{print $$1,$$NF}' /etc/passwd
D、awk '{print $$1,$$NF}' /etc/passwd

单选题 一个文件名字为n.Z,可以用来解压缩的命令是?

A、tar
B、uncompress
C、gzip
D、compress