Question 1
What is true about the dmesgcommand? (Choose two.)
Question 2
A directory contains the following files:

What would be the output of the following shell script?
for file in *.txt


What would be the output of the following shell script?
for file in *.txt

Question 3
Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?
Question 4
Which of the following commands can be used to resolve a DNSname to an IP address?
Question 5
The file script.sh in the current directory contains the following content:
#!/bin/bash echo $MYVAR
The following commands are used to execute this script:
MYVAR=value
./script.sh
The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?
#!/bin/bash echo $MYVAR
The following commands are used to execute this script:
MYVAR=value
./script.sh
The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?
