淮阴工学院Linux

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

(1)Which of the following should be done first before installing Linux on a home computer?

(A)Upgrade the computer’s memory to at least 64 MB

(B)Create ext2 and swap partitions on the hard drive

(C)Verify the hardware on the Linux hardware compatibility list

(D)Defragment the drive using the computer’s current operating system

(2)During the Red Hat installation process, which of these is NOT the Partitioning

Method?

(A)fdisk (B)Automatically partition by the Installer

(C)Disk Druid (D)Partition Magic

(3)To start Linux from a DOS session, you might use:

(A)Linrun (B)runlin (C)loadlin (D)linload

(4) Which of the following command enables you to shutdown Linux?

(A)Shutdown (B)Shutdown Linux (C)Turn off Linux (D)None of them

(5)Which of these are parts of Linux file system?

(A)Directories, Special Files and Ordinary Files

(B)Disk driver, Directories and Files

(C)Disk driver, Folders and Files

(D)Disk driver, Directories, Files and Icons

(6)By default, which directory contains program and data files for system administration?

(A)/dev (B)/etc (C)/bin (D)None of them

(7) To run “fsck” without being asked for confirmation of its actions, which of the following you would use:

(A)fsck -a (B) fsck -n (C) fsck -y (D) None of them

(8)Which of the following file system is NOT supported by Linux?

(A)ext2 and msdos (B)vfat and iso9660 (C)vfat and hpfs (D)None of them

(9)In Linux, to use CD-ROM you may need to:

(A)Bind it (B)Mount it (C)Login as root (D)Restart the computer

(10)Which of these is NOT Linux shell?

(A)Bourne shell (B)C Shell (C)Korn Shell (D)Turbo Pascal Shell

(11)If you are signed in or acting as “root”, which of the following character will be displayed at the last place of the shell promt(suppose you are using bash)?

(A)% (B)# (C) $ (D)@

(12)The command “pwd” will_____.

(A)Change the user password (B)Change the root password

(C)Print the current user password (D)Print the current directory

(13)Which of the following is an “absolute path”?

(A)~/abc (B)/user/test (C)etc/cfg (D)c:/user/abc

(14)The command cd~ will_______

(A)Change the current working directory to home directory

(B)Change the current working directory to root directory

(C)Change the current working directory to parents directory

(D)None of the above.

(15)Which of these is an invalid command?

(A)ls -a (B)ls -l (C)ls -la (D)ls -l+a

(16)The simplest way to create a file name abc.txt is:

(A) create > abc.txt (B) cat > abc.txt (C) create < abc.txt (D) cat < abc.txt

(17)Create a new file “new.txt” that is a concatenation of “file1.txt” and “file2.txt”.

(A)cat file1.txt file2.txt > new.txt (B)make new.txt = file1.txt + file2.txt

(C) cat file1.txt file2.txt = new.txt (D)cp file1.txt | head file2.txt > new.txt

(18)Which directory name is illegal in Linux?

(A)ABC123 (B)abc<123 (C)ABC.123 (D)None of them

(19)Which of these is NOT true about “vi”?

(A) You can search (B)You can edit multiple file simultaneously in vi

(C)You can use regular expression in vi

(D)You can find vi in almost every Unix installation

(20)Which of the following commands CANNOT be used to edit a file?

(A)ed (B)vi (C)edit (D)None of them

(21)Which of the following commands can be used and resume editing the file in “vi” editor?

(A):w (B):x (C):v (D):s!

(22)In “vi”, Which command is used to delete the current line?

(A)dd (B)dl (C)Crtl+Y (D)dline

(23)In “vi”, which key is used to change from input mode to command mode?

(A)F12 (B)Crtl+F7 (C)ESC (D)ENTER

(24)By default, which name is used for super user in Linux?

(A)Admin (B)supervisor (C)root (D)branch

(25)Which command is used to create a new user account?

(A)newusr (B)addusr (C)newuser (D)adduser

(26)If you enable shadow password, which files does Linux store password?

(A)/etc/passwd (B)/etc/password (C)/etc/shadow (D)/etc/shadowwd

(27)There are seven fields in the /etc/passwd file. Which of the following lists all the fields in the correct order?

(A) username, UID, password, GID, home directory, command, comment

(B) username, password, UID, GID, comment, home directory, command

(C) UID, username, password, GID, home directory, comment, command

(D) username, password, UID, group name, GID, home directory, comment

(28)The su –l command will do which of the following?

相关文档
最新文档