淮阴工学院Linux

  • 格式:doc
  • 大小:52.50 KB
  • 文档页数:4

(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 PartitioningMethod?(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?(A) Change the user password to “-l”(B)Disable the user account “l”(C)Disable the user account “-l”(D)Simulate a full login as super user(29)In Linux, which command display a report of available free space remains on the storage devices?(A)chkdsk (B)df (C)fprp (D)fd(30)Which commands will display a list of processes that are running on Linux?(A)ps -aux (B)list -aux (C)psl -aux (D)pviewer -aux(31)In Red Hat Linux, you can configure the XFree86 using the following utility.(A)XFree86Cfg (B)Xconfigurator (C)Xconfig (D)None of them(32) What does GNOME stand for?(A)Global Network Object Model Environment(B)GUN Network Object Model Environment(C)General Network Object Model Environment(D)General Network Object Model Ext(33)Which of the following programs is NOT backup program inLinux?(A)dd (B)ndd (C)cpio (D)None of them(34)In Linux, what does daemon means?(A)A service or sever program (B)A http server (C)A dialup (D)None of them(35)What is the name of the point to point protocol daemon that is used when connecting with modem?(A)ppp (B)pppd (C) tcp/ip (D)smbd(36)What does the Unix command “kill”do?(A)It clears all stored dialup network setting(B)It terminates a process currently running(C)It causes your computer to crash (D)None of them(37)What does MTA stand for?(A) Message Transfer Agent (B) Message Transmission Application(C) Mail Transfer Agent (D) Mail Transfer Application(38)Which of the following commands will display information about the pppd?(A) help pppd (B) hlp pppd (C) man pppd (D) None of them(39)Most of Unix and Linux system store mails under_____.(A)/var/spool/mail (B)/etc/spool/mail (C)/mail/spool/mail (D)/bin/spool/mail(40)Apache is a______.(A) Web server (B) Web client (C) Web protocol (D) Mail client(41)Which of these is NOT true about telnet?(A)You can use telnet to send an e-mail(B)You can use telnet to retrieve a HTML page(C)You can use telnet to download a file from a FTP server(D)None of the above(42)A customer wants internal office information to be accessible by employees through Web browser. Which of the following Linux services should be used?(A)squid (B)sendmail (C)apache (D)None of them(43)In Red Hat Linux, you can control the Apache using_____.(A)/etc/rc.d/initd/httpd(B)/etc/rcd/initd/httpd(C)/etc/rc.d/init.d/httpd(D)/etc/rcd/init.d/httpd(44)Which of the following commands searches the contents of files for a specific string?(A)find (B)grep (C)search (D)whereis(45)What does CGI stand for?(A)Command Gear Instructions (B)Common Gateway Interface(C)Control Gateway Interface (D)Common Generator Instructions(46)By default, what is the name of the first parallel printer?(A) /dev/lp0 (B) /dev/lpt0 (C) /dev/lpt1 (D) /dev/prn0(47)Which command will you use to stop a queued print job?(A)lps (B)lpq (C)lprm (D)lpkill(48)A system technician needs to determine which hardware modules are loaded on a particular Linux server. Which of the following commands will perform this task?(A)modules (B)lsmod (C)insmod-list (D)None of them(49)Samba is used for:(A)Configure NFS shares (B)Perform password administration(C)Sharing resources from a Linux machine to a windows machine(D)Web server for Windows-based web Browsers(50) By default, Where does Samba read the configuration?(A)/etc/smb.cf (B)/etc/smb.cfg (C)/etc/smb.conf (D)/etc/smb.config。