用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。A、etc/profile-$HOME/.cshrc-$HOME/.loginB、$HOME/.login-$HOME/.cshrc-etc/profileC、etc/profile-$HOME/.login-$HOME/..cshrcD、$HOME/.cshrc-etc/profile-$HOME/.login

题目

用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。

  • A、etc/profile->$HOME/.cshrc->$HOME/.login
  • B、$HOME/.login->$HOME/.cshrc->etc/profile
  • C、etc/profile->$HOME/.login->$HOME/..cshrc
  • D、$HOME/.cshrc->etc/profile->$HOME/.login
参考答案和解析
正确答案:A
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Auserwiththeuseridof’joe’isunabletorshfromSYSTEMAtoSYSTEMBwithouthavingtoretypetheirpassword,buttheycanrshfromSYSTEMBtoSYSTEMA.Nootherusersareexperiencingthesameissue.Bothsystemshavea/home/joe/.rhostsfilethatcontaintheproperreferencestotheotherhost.The/home/joe/.rhostsfilesonbothSYSTEMAandSYSTEMBareownedbyuserid’joe’.Whichofthefollowingisthemostlikelycauseofthisproblem?()

A.User’joe’isspecifiedinthe/etc/nologinonSYSTEMA

B.User’joe’isspecifiedinthe/etc/nologinonSYSTEMB

C.Thefilepermissionsonthe/home/joe/.rhostsfileonSYSTEMAiscorrect.

D.Thefilepermissionsonthe/home/joe/.rhostsfileonSYSTEMBisincorrect.


参考答案:D

第2题:

Whichfilescanbeusedtogethertoallowremotecommandexecutiononaserver?()

A./etc/.rhostsand$HOME/hosts.equiv

B./etc/hosts.equivand$HOME/.rhosts

C./etc/rhosts.equivand$HOST/.rhosts

D./etc/hosts.equivand$HOME/.hosts.equiv


参考答案:B

第3题:

YouaredevelopinganASP.NETMVC2Webapplication.TheapplicationcontainsacontrollernamedHomeController,whichhasanactionnamedIndex.TheapplicationalsocontainsaseparateareanamedBlog.AviewwithintheBlogareamustcontainanActionLinkthatwilllinktotheIndexactionoftheHomeController.YouneedtoensurethattheActionLinkintheBlogarealinkstotheIndexactionoftheHomeController.WhichActionLinkshouldyouuse?()

A.Html.ActionLink("Home","Index","Home")

B.Html.ActionLink("Home","Index","Home",new{area=""},null)

C.Html.ActionLink("Home","Index","Home",new{area="Blog"},null)

D.Html.ActionLink("Home","Index","Home",new{area="Home"},null)


参考答案:B

第4题:

用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。

A.etc/profile->$HOME/.cshrc->$HOME/.login

B.$HOME/.login->$HOME/.cshrc->etc/profile

C.etc/profile->$HOME/.login->$HOME/..cshrc

D.$HOME/.cshrc->etc/profile->$HOME/.login


参考答案:A

第5题:

用户键入正确的用户名和口令后,哪个脚本将会执行?()

A./etc/.profile

B.$HOME/.profile

C./.profile

D./etc/profile


参考答案:D

第6题:

Thefollowingentryisinthe/etc/host.equivand/home/jsmith/.rhostsfileonserverAlpha:+jsmith.Whatdoesthisentryindicate?()

A.Theuser"jsmith"canuser-commandsfromanyservertoserverAlphasystem-wide

B.Theuser"jsmith"canuser-commandsfromserverAlphatoanyserversystem-wide

C.Theuser"jsmith"canuser-commandsfromserverAlphatoanyserverwitha/home/jsmithdirectory

D.Theuser"jsmith"canuser-commandsfromanyservertoserverAlphaonlyinthe/home/jsmithdirectory


参考答案:A

第7题:

在bash中,如果你想永久设置诸如PATH之类的参数,而不必在你每次登录时都要重新设置一次,则你可以在下面哪些文件中定义这些参数。()

A. $HOME/.bashrc

B. $HOME/.bash_profile

C. $HOME/.cshrc

D. $HOME/.bash_logout


参考答案AB

第8题:

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.


参考答案:D

第9题:

使用tar命令将/home备份打包为home.tar?()

A.tar cvf /home home.tar

B.tar tvf home.tar /home

C.tar cvf home.tar /home

D.tar xvf home.tar /home


参考答案:C

第10题:

已知某用户 stud1,其用户目录为/home/stud1。如果当前目录为/home,进入目录/home/stud1/test 的命令是 cd /stud1/test。()


正确答案:错误

更多相关问题