Podcast
Questions and Answers
Which command adds the new user 'tux' and creates the user's home directory with default configuration files?
Which command adds the new user 'tux' and creates the user's home directory with default configuration files?
What information is stored in the /etc/passwd
file?
What information is stored in the /etc/passwd
file?
Which of the following tar
options handle compression?
Which of the following tar
options handle compression?
What keyword is used in a shell script to begin a loop?
What keyword is used in a shell script to begin a loop?
Signup and view all the answers
Which of the following commands creates an archive file work.tar
from the contents of the directory ./work/
?
Which of the following commands creates an archive file work.tar
from the contents of the directory ./work/
?
Signup and view all the answers
Which of the following permissions does CertyIQ r=read w=write x=execute t = means
?
Which of the following permissions does CertyIQ r=read w=write x=execute t = means
?
Signup and view all the answers
What is the purpose of setting a variable in Shell scripting?
What is the purpose of setting a variable in Shell scripting?
Signup and view all the answers
Which command can be used to set the variable USERNAME to 'bob' in Shell scripting?
Which command can be used to set the variable USERNAME to 'bob' in Shell scripting?
Signup and view all the answers
In Shell scripting, what does the operator '?' do in a regular expression?
In Shell scripting, what does the operator '?' do in a regular expression?
Signup and view all the answers
Which command should be used in a script to display the content of a variable MYVAR in Shell scripting?
Which command should be used in a script to display the content of a variable MYVAR in Shell scripting?
Signup and view all the answers
What issue arises when executing the given script 'script.sh' with 'MYVAR=value ./script.sh'?
What issue arises when executing the given script 'script.sh' with 'MYVAR=value ./script.sh'?
Signup and view all the answers
Which special character is used for wildcard matching in Linux commands?
Which special character is used for wildcard matching in Linux commands?
Signup and view all the answers
What will the command ls ../ Documents/
do if executed in the /home/user/Downloads/
directory?
What will the command ls ../ Documents/
do if executed in the /home/user/Downloads/
directory?
Signup and view all the answers
Which command will copy all files ending with .txt
to the /tmp/
directory?
Which command will copy all files ending with .txt
to the /tmp/
directory?
Signup and view all the answers
How can you split a long command across multiple lines in the shell?
How can you split a long command across multiple lines in the shell?
Signup and view all the answers
Which command would move all files starting with text
and ending with .csv
to a new directory called data
?
Which command would move all files starting with text
and ending with .csv
to a new directory called data
?
Signup and view all the answers
What is the purpose of the chmod
command?
What is the purpose of the chmod
command?
Signup and view all the answers
Which command would list all files in the current directory, including hidden files?
Which command would list all files in the current directory, including hidden files?
Signup and view all the answers