Linux英文试题测试题

收集整理了一些Linux英文试题测试题,供Linux人参考学习。

1. when the system is mounted, all file systems in the /etc/fstab are mounted, except those with what in the option column?
a. nomount
b. noauto
c. noatime
d. nohup

2. you want to compile a new kernel. you have just run "make dep". what should you do next?

choose the best answer:
a. make bzimage
b. make dep
c. make clean
d. make mrproper
e. make xconfig

3. with a linux 2.2 kernel-based machine configuration of 133 mhz, 32 mb ram and a 1 gb hd, how much swap should be configured?
a. 512mb
b. 256mb
c. 128mb
d. 64mb
e. 32mb

4. which command removes all subdirectories in /tmp, regardless of whether they are non-existent or in use?
a. del /tmp/*
b. m -rf /tmp
c. rm -ra /tmp/*
d. rm -rf /tmp/*
e. delete /tmp/*,*


5. you have the following file:
-rwxrwxr-x 1 foo root 0 feb 23 07:48 /bin/foo
which of the following commands will change the owner of the file /bin/foo from the foo user to the bar user without affecting group ownership?
a. chown /bin/foo bar
b. chown bar /bin/foo
c. chown bar.foo /bin/foo
d. chown.foo.bar /bin/foo

6. your unmask is set to 002. if you create a new file, what will the permission of the new file be?
a. –rw-rw-r--
b. rwxrwx-w-
c. ------w-
d. rwxrwxr-x

7. what linux utility allows you to easily configure your sound blaster card on linux?
a. sndconfig
b. soundconf
c. usrconf
d. sysconf

8. where can lilo place boot code?
a. the boot rom
b. the boot ram
c. the /boot partition
d. the mbr on a hard drive

9. what lilo.conf parameter will cause the root file system to be mounted read only?
a. no-write
b. read
c. no-right
d. read-only

10. linux is a(n) _________ operating system, meaning the source code is freely available.
a. open sourced
b. user licensed
c. closed source
d. open binary

11. which of the following commands can be used to extract a tar file?
a. tar -vf
b. tar -xvf
c. tar -e
d. tar -v

12. which of the following commands can be used to create a tar archive file in verbose mode?
a. tar -v

b. tar -cvf
c. tar -c
d. tar -vf

13. in what file do you change default shell variables for all users?
a. /etc/bashrc
b. /etc/profile
c. ~/.bash_profile
d. /etc/skel/.bashrc
e. /etc/skel/.bash_profile

14. which two files in a user's home directory are used to customize the bash environment?
a. bash and .bashrc
b. bashrc and-bash_conf
c. bashrc and bashprofile
d. .bashrc and .bash_profile
e. bash.conf and .bash_profile

15. where are the default settings for the useradd command kept?
a. /etc/default/useradd
b. /etc/sysconfig/useradd.cfg
c. /etc/.useradd
d. /etc/defaults/useradd
e. /etc/login.defs

16. which protocol is used by ping?
a. tcp
b. udp
c. smb
d. icmp
e. ospf

17. if you suspect that a gateway machine on your network has failed but you are unsure which machine, which command will help locate the problem?
a. ps
b. netstat
c. nsloopup
d. ifconfig
e. traceroute

18. what is the binary conversion of the ip address 192.168.1.10?
a. 11000000.10101000.00000001.00001010
b. 01101010.11000100.10101000.00000001
c. 00000001.00001010.11000000.10101000
d. 10101000.00000001.00001010.11000000
e. none of the choices

19. your server logfile shows repeated connections to tcp port 143, what service is being accessed?
a. smtp
b. imap
c. pop3
d. pop2

20. the _____ is used by the local host to determine which hosts are on the local subnet, and which hosts are on remote networks.
a. dns
b. arp
c. gateway
d. netmask
e. routing protocol

21. what system file contains definitions of well known ports, their associated services and protocols?
a. /etc/services
b. /etc/sysconfig/network-scripts
c. /etc/services.conf
d. /etc/inet/hosts
e. none of the choices


22. what is a well-known service that binds port 25 and is it required on all hosts?
a. snmp and it should be turned off if not needed.
b. smtp and it is a required service.
c. smtp and it is only required on mx hosts.
d. slpd and it is required if you run ldap services.
e. sshd and it is required for secure logins.

23. your machine has two working nic's with proper addresses. you want to split your network into two new subnets. what single command will accomplish this?
a. ifconfig
b. route
c. default
d. netstat
e. none of the choices

24. what directory be default contains the delivered mail for each user?
a. ~/mail/
b. /usr/mail/
c. /var/mail/
d. /var/mail/spool/
e. /var/spool/mail/

25. you are running an email server configured with the default settings. in which directory will you found the delivered mail for the user foo?
a. /var/spool/mail
b. /home/foo/mail
c. /var/mail/spool
d. /var/users/mail

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/70fc90617119f2fda43f4a41b995ba3d.html