c、用户注册
d、开放性二进制
答案 b
确定myfile的文件类型的命令是什么(选择最合适的答案) a. type myfile b. type -q myfile c. file myfile
d. whatis myfile 答案 C
用来分离目录名和文件名的字符是什么(选择最合适的答案) a. slash (/) b. period (.) c. dash (-) d. asterisk (*) 答案 A
你想显示文件\的最后10行,下面那个命令是正确的(选择最合适的答案) a、tail logfile
b、head -10 longfile c、taid -d 10 longfile d、head longfile
答案 a
假如你得到一个运行命令被拒绝的信息,你可以用哪个命令去修改它的权限使之可以正常运行(选择最合适的 答案) a. path= b. chmod c. chgrp d. chown
答案 b
拷贝mydir\\myfile文件到dir2目录下,但是系统提示这个文件已经存在,下面那个命令是正确的(选择最合适的 答案)
a、cp -w mydir\\myfile dir2 b、cp -i mydir\\myfile dir2 c、cp mydir\\myfile dir2 d、cp -v mydir\\myfile dir2
答案 b
下面那个命令允许对文件重命名(选择最合适的答案) a、rn b、rname c、replace d、mv
答案 d
假如文件是按8进制来定义,下面那个值代表了读和写(选择最合适的答案) a、2
b、6 c、4 d、1
答案 b
linux临时目录一般存在下面那个文件夹中(选择最合适的答案) a、/tmp b、/proc
c、/data d、/dev
答案 a
一个文件的权限是-rw-rw-r--,这个文件所有者的权限是什么(选择最合适的答案) a、read-only b、read-write c、write 答案 b
下面哪个值代表多用户启动(选择最合适的答案) a、1 b、0 c、3 d、5
答案 c
下面哪个文件代表系统初始化信息(选择最合适的答案) a、/etc/inittab b、/etc/init c、/etc/proc
d、/etc/initproc 答案 a
哪条命令从当前系统切换到启动级别1(选择最合适的答案) a、inittab 1 b、init 1 c、level 1 d、rlevel1 答案 b
下面哪个选项能取消shutdown命令(选择最合适的答案) a、shutdown -c b、shutdown -x c、shutdown -u d、shutdown -n
答案 a
通过shell执行一个命令,必须先敲入一个_____(选择最合适的答案) a. 参数 b. 命令 c. 操作符 d. 终端ID号 答案 B
哪个符号加在命令后面可以在后台执行程序(选择最合适的答案) a. @
b. & c. # d. * 答案 B
在vi编辑器里,哪个命令能将光标移到第200行(选择最合适的答案)
a. 200g b. :200 c. g200 d. G200 答案 b
用vi打开一个文件,如何用字母?new?来代替字母?old?(选择最合适的答案) a. :r/old/new b. :s/old/new
c. :1,$s/old/new/g d. :s/old/new/g 答案 c
下面哪个配置文件用来定义syslog的后台进程(选择最合适的答案) a、system.conf
b、syslog.conf c、syslogd d、slog.conf 答案 b
下面哪个syslog.conf代表httpd进程(选择最合适的答案)
a、httpd b、proc c、smtp d、daemon 答案 d
你给公司的新同事添加一个用户,你起初指定他的帐号在30天后过期,现在想改变这个过期时间,用下面哪个
命令(选择最合适的答案) a、usermod -a b、usermod -d c、usermod -x d、usermod -e 答案 d
用下面哪个命令可以不用退出vi编辑器来切换文件(选择最合适的答案) a. :e for edit command b. map command
c. export command d. set command 答案 a
下面哪个选项用来添加用户定义用户登录的shell(选择最合适的答案)
a、-s b、-u
c、-l d、-sh 答案 a
如果你想给变量\定义为4,下面哪些时正确的(选择最合适的答案) a、IQ=4
b、set IQ=4 c、set $IQ=4 d、IQ set 4 答案 c
在系统重建的时候,下面哪个参数能用来对mkfs命令检查坏块(选择最合适的答案) a、-b b、-e c、-c d、-check 答案 c
哪一个命令能用来查找在文件TESTFILE中只包含四个字符的行?(选择最合适的答案) a.grep '????' TESTFILE b.grep '....' TESTFILE
c.grep '^????$' TESTFILE d.grep '^....$' TESTFILE 答案 d
哪一个命令能用来删除当前目录及其子目录下名为‘core'的文件? (选择最合适的答案) a.find . -name core -exec rm ;
b.find . -name core -exec rm {} \\ ; c.find . -name core -exec rm {} -; d.find . -name core -exec rm {} ; 答案 b
用标准的输出重定向(>)像?> file01?能使文件file01的数据_____(选择最合适的答案) a. 被复制 b. 被移动 c. 被覆盖
d. 被打印 答案 c
按_____键能中止当前运行的命令。(选择最合适的答案) a. Ctrl-D b. Ctrl-C c. Ctrl-B d. Ctrl-F 答案 b
下面对Linux命令的描述哪个是正确的(选择最合适的答案) a. 不是大小写敏感的 b. 都是大写的 c. 大小写敏感
d. 都是小写 答案 c
在vi编辑器里,命令?dd?用来删除当前?(选择最合适的答案) a. 字 b. 字符 c. 变量 d. 行
答案 d
下列哪一个命令能被用来重定向管道的输出到标准输出和指定的文件中? (选择最合适的答案) a.cat b.less c.tee d.wee 答案 c
spool文件系统放到什么位置(选择最合适的答案) a、/proc b、/spool c、/var d、/lpd
答案 c
下面哪个命令能去掉主引导信息里的内容(选择最合适的答案) a、fdisk /mbr b、format /mbr c、mbr/format
d、mbr/replace 答案 a
下面哪条命令可以显示交换内存(选择最合适的答案) a、showmem b、freemem c、swap d、free 答案 d
下面哪条命令可以显示用户默认设置(选择最合适的答案) a、useradd -u b、show defaults c、show user defaults d、useradd -D
答案 d
下面哪段定义了添加一个tar文件的信息(选择最合适的答案) a、use the append command
b、use the add command
c、use the tar command with the -a switch d、use the tar command with the -r switch 答案 d