单选题An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()Acd /var/spoolBlcd /var/spoolCcd /usr/bin /var/spoolDlcd /usr/bin /var/spool
单选题
An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()
A
cd /var/spool
B
lcd /var/spool
C
cd /usr/bin /var/spool
D
lcd /usr/bin /var/spool
参考解析
解析:
暂无解析
相关考题:
InwhichdirectoryarethebasicLinuxcommandssuchasgzip,gunzipandzcatinstalled?() A./opt/freeware/binB./usr/bin/freewareC./var/freeware/binD./usr/sbin/freeware
Which command will change the user webserver’s shell toksh93?() A.chshell -ksh93 webserverB.chsh webserver /usr/bin/ksh93C.chuser -a shell=/usr/bin/ksh93 webserverD.setuid -a SHELL=/usr/bin/ksh93 -u webserver
ASystempadministratorsuspectstheyarereceivinganerrorfromoneoftheirnightlycronjobs.Thejobis:01***/usr/local/bin/nightlycheck.plWhereshouldtheadministratorfirstlookforerrorsreportedbythiscronjob() A./var/log/syslog.outB.var/log/cron.logC./var/spool/cron/logsD.mail
Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVARl=redexportVARl=greenVARl=blue/usr/local/bin/script2ARl=yellow/usr/local/bin/script2!/bin/kshechoTheskyis${VAR1}.A.Theskyisred.B.Theskyisblue.C.Theskyisgreen.D.Theskyisyellow.
An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?() A. /etc/var/spoolB. /var/spool/cronC. /var/sched/jobsD. /usr/sched/crontabs
An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?() A. cd /var/spoolB. lcd /var/spoolC. cd /usr/bin /var/spoolD. lcd /usr/bin /var/spool
Which action changes the default editor for ALL users on the system from vi to edit?()A、Issue the command:export EDITOR=/usr/bin/edit edit each users .profile to change the EDITOR value to /usr/bin/editB、Modify /.profile and change the EDITOR variable to /usr/bin/editC、Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITORD、Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit
A System p customer has installed components from the Linux ToolBox. By default, which of the following directories will contain the open source commands such as gzip, gunzip and zcat()A、/opt/freeware/binB、/usr/bin/freewareC、/var/freeware/binD、/usr/sbin/freeware
A System p administrator suspects they are receiving an error from one of their nightly cron jobs. The job is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by this cron job()A、/var/log/syslog.outB、var/log/cron.logC、/var/spool/cron/logsD、mail
Which command will change the user webserver’s shell toksh93?()A、chshell -ksh93 webserverB、chsh webserver /usr/bin/ksh93C、chuser -a shell=/usr/bin/ksh93 webserverD、setuid -a SHELL=/usr/bin/ksh93 -u webserver
An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()A、/etc/var/spoolB、/var/spool/cronC、/var/sched/jobsD、/usr/sched/crontabs
In which directory are the basic Linux commands such as gzip, gunzip and zcat installed?()A、/opt/freeware/binB、/usr/bin/freewareC、/var/freeware/binD、/usr/sbin/freeware
An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()A、/usr/bin/javaB、/usr/jre1.5.0_06/bin/javaC、/usr/bin/jre1.5.0_06/bin/javaD、/usr/bin/java/jre1.5.0_06/bin/java
An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()A、cd /admB、cd ./admC、cd ../admD、cd /../adm
Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."A、The sky is red.B、The sky is blue.C、The sky is green.D、The sky is yellow.
When run on a machine called client, which of the following commands would mount the /usr/local/bin directory from the host machine over the /home/bin directory on client?()A、mount host:/usr/local/bin /home/binB、mount client:/home/bin /usr/local/binC、mount -o client:/usr/local/bin /home/binD、mount -n host:/home/bin /usr/local/bin
When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A、mount host:/home/bin /usr/local/binB、mount client:/home/bin /usr/local/binC、mount -n host /usr/local/bin /home/binD、mount -o host:/usr/local/bin /home/bin
单选题An administrator needs to add the /usr/vac/bin directory to their PATH environment variable for the current session. Which of the following will accomplish this task()Apath=$path:/usr/vac/bin; export pathBpath.=/usr/vac/bin; export $pathCModify the path environment variable in /etc/profileDModify the path environment variable in /.profile
单选题A System p administrator suspects they are receiving an error from one of their nightly cron jobs. Thejob is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by this cron job()A/var/log/syslog.outB/var/log/cron.logC/var/spool/cron/logsDmail
单选题Which action changes the default editor for ALL users on the system from vi to edit of the following?()AIssue the command: export EDITOR=/usr/bin/editBModify /.profile and change the EDITOR variable to /usr/bin/editCModify /etc/environment and add EDITOR=/usr/bin/edit export EDITORDModify /etc/security/defaults and change the EDITOR value to /usr/bin/edit
单选题Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."AThe sky is red.BThe sky is blue.CThe sky is green.DThe sky is yellow.
单选题An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()A/etc/var/spoolB/var/spool/cronC/var/sched/jobsD/usr/sched/crontabs
单选题An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()A/usr/bin/javaB/usr/jre1.5.0_06/bin/javaC/usr/bin/jre1.5.0_06/bin/javaD/usr/bin/java/jre1.5.0_06/bin/java
单选题In which directory are the basic Linux commands such as gzip, gunzip and zcat installed?()A/opt/freeware/binB/usr/bin/freewareC/var/freeware/binD/usr/sbin/freeware
单选题A System p customer has installed components from the Linux ToolBox. By default, which of the following directories will contain the open source commands such as gzip, gunzip and zcat()A/opt/freeware/binB/usr/bin/freewareC/var/freeware/binD/usr/sbin/freeware
单选题Which action change the default editor for ALL users on the system from vi to edit()AIssue the command: export EDITOR=/usr/bin/edit edit each user .profile to change the EDITOR value to /usr/bin/editBModify /.profile and change the EDITOR variable to /usr/bin/editCModify /etc/environment and add EDITOR=/usr/bin/edit export EDITORDModify /etc/security/defaults and change the EDITOR value to /usr/bin/edit