An Operator is in /var/tmp and n

题目

An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()

  • A、cd /adm
  • B、cd ./adm
  • C、cd ../adm
  • D、cd /../adm
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

F. 归并排序

{a为序列表,tmp为辅助数组}

procedure merge(var a:listtype; p,q,r:integer);

{将已排序好的子序列a[p..q]与a[q+1..r]合并为有序的tmp[p..r]}

var I,j,t:integer;

tmp:listtype;


正确答案:

 

begin
t:=p;i:=p;j:=q+1;{t为tmp指针,I,j分别为左右子序列的指针}
while (t<=r) do begin
if (i<=q){左序列有剩余} and ((j>r) or (a[i]<=a[j])) {满足取左边序列当前元素的要求}
then begin
tmp[t]:=a[i]; inc(i);
end
else begin
tmp[t]:=a[j];inc(j);
end;
inc(t);
end;
for i:=p to r do a[i]:=tmp[i];
end;{merge}

procedure merge_sort(var a:listtype; p,r: integer); {合并排序a[p..r]}
var q:integer;
begin
if p<>r then begin
q:=(p+r-1) div 2;
merge_sort (a,p,q);
merge_sort (a,q+1,r);
merge (a,p,q,r);
end;
end;
{main}
begin
merge_sort(a,1,n);
end.

第2题:

To which directory does the Junos OS write traceoptions files?()

A. /var/tmp/

B. /var/

C. /var/log/

D. /var/home/<username>/


参考答案:C

第3题:

在JavaScript中,以下对变量不正确的命名是?()

A.var temp

B.var tmp1

C.var return

D.var return_value


参考答案:C

第4题:

An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()

A. cd /adm

B. cd ./adm

C. cd ../adm

D. cd /../adm


参考答案:C

第5题:

Asystemadministratornoticedseveralerrormessagesonthescreenwhilethesystemwasbootingup;butwasnotabletowritethemdown.Whereshouldthesystemadministratorlookfortheconsolelog,assumingitisinthedefaultlocation?()

A./tmp/conslog

B./etc/console.log

C./var/adm/ras/conslog

D./var/ras/console.log


参考答案:C

第6题:

Using the command, user@router load override latest.conf, where in the file system will the latest.conf be located?()

A. /var/home/user/

B. /var/config/saved/

C. /var/tmp/

D. /config/


参考答案:A

第7题:

Aclusternodehasbeenstartedandhasnotacquiredtheresourcesintheresourcegroups.Whichlogfilewillshowthedetailsofanyeventscriptprocessingthathasoccurred?()

A./tmp/hacmp.out

B./tmp/clstrmgr.debug

C./usr/es/adm/cluster.log

D./var/adm/hacmp/hacmp.out


参考答案:A

第8题:

Afteryoubackup/exportusingafilesystemsnapshot,andyouhaveremovedthesnapshot,youalsoneedtoremovethebackingstore.Ifthesnapshotwascreatedwith: mkdir/var/tmp/backup-snapsfssnap-obs=/var/tmp/backup-snaps/exportWhichfiledoyouneedtoremove?()

A.A

B.B

C.C

D.D


参考答案:D

第9题:

AnadministratorreceivedacallfromauserwhosePCcrashedwhileusingvitoeditafile.Theuserwantstheeditedfileback.Whereshouldtheadministratorlookforthefile()

A./tmp

B./var/preserve

C./var/tmp/$USER

D.$HOME/.vi


参考答案:B

第10题:

An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()

A. /etc/var/spool

B. /var/spool/cron

C. /var/sched/jobs

D. /usr/sched/crontabs


参考答案:C

更多相关问题