单项选择题
You are looking for an executable file foo. Select the command that would search forfoo within directories set in the shell variable, PATH.()
A. locate
B. which
C. find
D. query
E. whereis
点击查看答案
相关考题
-
单项选择题
Whichofthesecommandsallowsyoutousesharedlibrariesthatarein/usr/local/lib?()
A. export LD_PRELOAD=/usr/local/lib
B. export LD_LIBRARY_PATH=/usr/local/lib
C. Idconfig /usr/local/lib
D. Idd/usr/local/lib -
单项选择题
Usingvi,youwanttosavechangestothefilemyfilewith:w!,butvicomplainsitcannotwritetothefile.Therefore,youwanttocheckthewritepermissionsonthefile.Todothiswithoutleavingvi,youtype:()
A. :!ls-I myfile
B. :\ls-l myfile
C. esc :Is -I myfile
D. :?ls-l myfile -
单项选择题
YouwishtokillaprocesswithaPIDof123.Selectthecommandwhichexiting.()
A. kill-1 123
B. kill-9 123
C. kill-15 123
D. kill-17 123
