淮阴工学院Linux
时间:2023-08-26 14:24:03 下载该word文档
(1WhichofthefollowingshouldbedonefirstbeforeinstallingLinuxonahomecomputer?(AUpgradethecomputer’smemorytoatleast64MB(BCreateext2andswappartitionsontheharddrive(CVerifythehardwareontheLinuxhardwarecompatibilitylist(DDefragmentthedriveusingthecomputer’scurrentoperatingsystem
(2DuringtheRedHatinstallationprocess,whichoftheseisNOTthePartitioningMethod?(Afdisk(BAutomaticallypartitionbytheInstaller(CDiskDruid(DPartitionMagic
(3TostartLinuxfromaDOSsession,youmightuse:(ALinrun(Brunlin(Cloadlin(Dlinload
(4WhichofthefollowingcommandenablesyoutoshutdownLinux?(AShutdown(BShutdownLinux(CTurnoffLinux(DNoneofthem
(5WhichofthesearepartsofLinuxfilesystem?(ADirectories,SpecialFilesandOrdinaryFiles(BDiskdriver,DirectoriesandFiles(CDiskdriver,FoldersandFiles(DDiskdriver,Directories,FilesandIcons
(6Bydefault,whichdirectorycontainsprogramanddatafilesforsystemadministration?(A/dev(B/etc(C/bin(DNoneofthem
(7Torun“fsck”withoutbeingaskedforconfirmationofitsactions,whichofthefollowingyouwoulduse:(Afsck-a(Bfsck-n(Cfsck-y(DNoneofthem
(8WhichofthefollowingfilesystemisNOTsupportedbyLinux?(Aext2andmsdos(Bvfatandiso9660(Cvfatandhpfs(DNoneofthem
(9InLinux,touseCD-ROMyoumayneedto:(ABindit(BMountit(CLoginasroot(DRestartthecomputer
(10WhichoftheseisNOTLinuxshell?(ABourneshell(BCShell(CKornShell(DTurboPascalShell
(11Ifyouaresignedinoractingas“root”,whichofthefollowingcharacterwillbedisplayedatthelastplaceoftheshellpromt(supposeyouareusingbash?(A%(B#(C$(D@(12Thecommand“pwd”will_____.(AChangetheuserpassword(BChangetherootpassword(CPrintthecurrentuserpassword(DPrintthecurrentdirectory
(13Whichofthefollowingisan“absolutepath”?(A~/abc(B/user/test(Cetc/cfg(Dc:/user/abc
(14Thecommandcd~will_______(AChangethecurrentworkingdirectorytohomedirectory
(BChangethecurrentworkingdirectorytorootdirectory(CChangethecurrentworkingdirectorytoparentsdirectory(DNoneoftheabove.
(15Whichoftheseisaninvalidcommand?(Als-a(Bls-l(Cls-la(Dls-l+a
(16Thesimplestwaytocreateafilenameabc.txtis:(Acreate>abc.txt(Bcat>abc.txt(Ccreate(Dcat
(17Createanewfile“new.txt”thatisaconcatenationof“file1.txt”and“file2.txt”.(Acatfile1.txtfile2.txt>new.txt(Bmakenew.txt=file1.txt+file2.txt(Ccatfile1.txtfile2.txt=new.txt(Dcpfile1.txt|headfile2.txt>new.txt
(18WhichdirectorynameisillegalinLinux?(AABC123(Babc<123(CABC.123(DNoneofthem
(19WhichoftheseisNOTtrueabout“vi”?(AYoucansearch(BYoucaneditmultiplefilesimultaneouslyinvi(CYoucanuseregularexpressioninvi
(DYoucanfindviinalmosteveryUnixinstallation
(20WhichofthefollowingcommandsCANNOTbeusedtoeditafile?(Aed(Bvi(Cedit(DNoneofthem
(21Whichofthefollowingcommandscanbeusedandresumeeditingthefilein“vi”editor?(A:w(B:x(C:v