设为首页收藏本站language 语言切换
查看: 1719|回复: 0
收起左侧

誉天红帽认证课程知识答题分享

[复制链接]
发表于 2020-11-19 16:38:29 | 显示全部楼层 |阅读模式


1.所有输出重定向用以下哪个符号表示?(   D   )
A.>
B.2>
C.&<
D.&>

2.把错误输出重定向到一个文件的命令是?(   C   )
A.find /etc –name passwd > find.out
B.find /etc –name passwd 2> /dev/null
C.find /etc –name passwd >find.out 2> find.err
D.find /etc –name passwd &> find.all

3.能实现给user发送邮件的命令是?(   B   )
A.echo “test email”|mail “test” user@example.com
B.echo “test email”|mail –s “test” user@example.com
C.echo “test email”|mail “test” user@example.com
D.mail -s “test” user@example.com

4.在命令行提示符下,删除光标所在的位置到行首的命令是?(   B   )
A.ctrl+a
B.ctrl+u
C.ctrl+e
D.ctrl+k

5.在命令行下,强制删除file1、file3、file5的命令是?(   A   )
A.rm –f file{1,3,5}
B.rm –f file(1,3,5)
C.rm –f file1 file3 file5
D.rm –rf file1 file3 fil5

6.在bash shell中,哪个是表示引用命令执行的结果?(   D   )
A. echo “hostname”
B. $(hostname)
C. `hostname`
D. B和C都是

7.在bash shell中,以下哪个文件保存了用户的历史命令?(   B   )
A.~/history
B.~/.bash_history
C.~/bash_history
D.~/.bash_hrc

8.在bash shell中,执行以下哪个命令可显示当前的日期?(     B       )
A.echo “date”
B.echo `data`
C.echo ‘date’
D.echo $data

9.在命令行中,定义别名的命令是?(   A   )
A.alias dir=’ls -laF’
B.alias dir=ls -laF
C.Alias dir=’ls -laF’
D.Alias dir=ls –laF

0.在命令行中,执行历史记录里最后一次以sys开头的命令是?(  B    )
A.!135
B.!sys
C.sys+tab
D.$sys

誉天红帽认证课程咨询热线18696182106 微信同号
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-29 11:19 , Processed in 0.069470 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表