Which of the following are graphical browsers used in Linux? Select all answers that apply.
A. lynx
B. Mozilla Firefox
C. Konqueror
D. Google Chrome
查看答案
Which command checks whether a host is online?
A. ping
B. route
C. traceroute
D. netstat
In an if statement, the ____ operator is used with a name as argument to check if it exists and is a directory.
A. -e
B. -d
C. -f
D. -s
Which of the following are correct conditional options that can be used to test for file attributes? Select all answers that apply.
A. -e
B. -z
C. -d
D. -r
Which of the following statements can be used to compare two strings? Select all answers that apply.
A. if [ $STR1 == $STR2 ] ; then echo match found ; fi
B. if [ $STR1 -eq $STR2 ] ; then echo match found ; fi
C. if [[ $STR1 = $STR2 ]] ; then echo match found ; fi
D. All of the above