题目内容

The command wc –l some_file will print out the number of:

A. lines in some_file
B. words in some_file
C. characters in some_file
D. bytes in some_file

查看答案
更多问题

How would you use sed to replace all the occurrences of the word "tiger" with "lion" in the file named "data"?

A. sed ‘s/tiger/lion/’ data
B. sed ‘s/lion/tiger/’ data
C. sed -i ‘s/tiger/lion/g’ data
D. sed –i ‘r/lion/tiger/’ data

To confirm that a remote host is online and responding and to measure network latency between machines at the same time, one can use:

A. nslookup
B. ip addr show
C. dig
D. ping

IP addresses are divided into two parts:

Address and octets
B. TCP and IP
C. Network and host
D. Class A and B

The root account:

A. Has authority over the entire system
B. Requires extreme caution when using because small mistakes can lead to disasters
C. Should be used carefully; think before pressing the Enter key and run complex commands in a safe way, first, to ensure mistakes aren’t made
D. All of the above

答案查题题库