Which of the following commands extracts the contents of the compressed archive file1.tar.gz?
Which of the following devices represents a hard disk partition?
Which of the following permissions are set on the/tmp/directory?
Which of the following commands puts the lines of the file data.csv into alphabetical order?
Which command adds the new usertuxand creates the user’s home directory with default configuration
files?
The current directory contains the following file:
-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh
Given that the file is a valid shell script, how can this script be executed? (Choose two correct answers.)
Which of the following DNS record types hold an IP address? (Choose two.)
Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?
Which of the following statements are true regarding a typical shell script? (Choose two.)
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?