考题
GiventhatfileisareferencetoaFileobjectthatrepresentsadirectory,whichcodefragmentswillsucceedinobtainingalistoftheentriesinthedirectory?()
A.Vectorfilelist=((Directory)file).getList();B.String[]filelist=file.directory();C.Enumerationfilelist=file.contents();D.String[]filelist=file.list();E.Vectorfilelist=(newDirectory(file)).files();
考题
出创建用户ID是200,组ID是1000,用户主目录为/home/user01的新用户user01的正确命令()A.adduser-u:200-g:1000-h:/home/user01user01B.adduser-u=200-g=1000-d=/home/user01user01C.useradd-u200-g1000-d/home/user01user01D.useradd-u200-g1000-h/home/user01user01
考题
请选出创建用户ID是200,组ID是1000,用户主目录为/home/user01的新用户user01的正确命令.()A.adduser-u:200-g:1000-h:/home/user01user01B.adduser-u=200-g=1000-d=/home/user01user01C.useradd-u200-g1000-d/home/user01user01D.useradd-u200-g1000-h/home/user01user01
考题
Whenperformingadatabaseduplication,whichduplicatedatabaseparameterwouldyousettoensurethattheonlineredologsarecreatedinthecorrectlocation?()
A.log_file_name_convertB.convert_log_file_nameC.file_name_convert_logD.redo_log_file_name_convertE.logfile_convert_directory
考题
Abankinguserwiththeuseridof’joe’isunabletorshfromSYSTEMAtoSYSTEMBwithouthavingtoretypetheirpassword,buttheycanrshfromSYSTEMBtoSYSTEMA.Nootherusersareexperiencingthesameissue.Bothsystemshavea/home/joe/.rhostsfilethatcontaintheproperreferencestotheotherhost.The/home/joe/.rhostsfilesonbothSYSTEMAandSYSTEMBareownedbyuserid’joe’.Whichofthefollowingisthemostlikelycauseofthisproblem()A.User’joe’isspecifiedinthe/etc/nologinonSYSTEMb.B.User’joe’isspecifiedinthe/etc/nologinonSYSTEMa.C.Thefilepermissionsonthe/home/joe/.rhostsfileonSYSTEMAareincorrect.D.Thefilepermissionsonthe/home/joe/.rhostsfileonSYSTEMBareincorrect.
考题
Anadministratorcreateda.envfileinauser’shomedirectorytoconfigureanumberofcustomenvironmentvariablesforalocalapplication.However,aftertheuserlogsoutandthenlogsbackintothesystem,thecustomvariablesarenotbeingsetWhatisthemostlikelyreasonthatthecustom.envfileisbeingignored?()A.Ashellotherthankshisbeingusedbytheuser.B.Theline’exportENV=$HOME/.env’ismissingfrom/etc/profile.C.Theline’exportENV=$HOME/.env’ismissingfromtheuser’s.profile.D.Theenv_profileattributeisnotdefinedfortheuserwithin/etc/security/user.
考题
当前命令提示符为[user1@localhost root]$,使用哪些用命令一定可以切换到目录/home/user1。()A.cd /home/user1B.cd ~C.cd ../home/user1D.cd -
考题
【单选题】创建一个新用户user01,设置其主目录为/home/user01。A.#useradd –s /home/user01 -m user01B.#useradd –d /home/user01 user01C.#useradd –h /home/user01 -m user01D.#useradd –c /home/user01 -m user01
考题
16、当前命令提示符为[user1@localhost root]$,使用哪些用命令一定可以切换到目录/home/user1。()A.cd /home/user1B.cd ~C.cd ../home/user1D.cd -