单选题 查看环境变量的命令是?

A、 source admin-login
B、 vi admin-login
C、 export -p
D、 :wq!
下载APP答题
由4l***xe提供 分享 举报 纠错

相关试题

单选题 哪一个命令可以查看当前目录下的文件有哪些?

A、 ls -al
B、 cat ~/.zshrc
C、 ls -al >> log.log
D、 ssh root@xxx.xxx.xxx.xxx -p 22

单选题 以下哪条命令可以登录本地密码为00000账户为root的MySQL数据库?

A、 mysql -hlocalhost -uroot -p000000
B、 mysql_secure_installation
C、 systemctl start mariadb
D、 systemctl status mariadb

单选题 如何在hosts文件中将192.168.10.10地址与controller建立映射关系?

A、 host 192.168.10.10 controller
B、 192.168.10.10 controller
C、 controller 192.168.10.10
D、 192.168.10.10 is controller

单选题 清除yum缓存的命令是?

A、 yum makecache
B、 yum clean all
C、 yum repolist
D、 yum install -y yum-utils createrepo yum-plugin-priorities

单选题 如何将命令的输出写入到log文件中?

A、 ls -al > ls_log.log
B、 cat ~/.bashrc
C、 find / -name 'a∗' -size 1M
D、 shutdown -h now

单选题 下列哪一个命令可以通过腾讯的NTP时间服务器将本机时间与互联网时间对齐?

A、 chronyc add server time1.cloud.tencent.com
B、 chronyc delete time1.cloud.tencent.com
C、 systemctl restart chronyd
D、 systemctl status chronyd

单选题 查看memcached端口是否打开的命令是?

A、 netstat -tnlup | grep memcached
B、 mysql -hlocalhost -uroot -p000000
C、 cat /etc/passwd | grep memcached
D、 yum install -y telnet

单选题 重建yum缓存的命令是?

A、 yum repolist
B、 yum clean all
C、 yum makecache
D、 reposync