单项选择题
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/java
B. /usr/jre1.5.0_06/bin/java
C. /usr/bin/jre1.5.0_06/bin/java
D. /usr/bin/java/jre1.5.0_06/bin/java
相关考题
-
单项选择题
What command would an operator use to move a file from the /old_dir directory to the /new_dir directory without changing the file name?()
A. mv /old_dir/file /new_dir
B. mv -p /old_dir/file /new_dir
C. mv -k /old_dir/file /new_dir
D. mv /old_dir/file /new_dir/new_file -
单项选择题
Which of the following commands will show the users that are logged on a system ?()
A. id
B. who
C. whois
D. lsuser -
单项选择题
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
