Question 1
Which of the following statements is FALSE?
Question 2
Which network device serves as the gateway between your internal network and external network?
Question 3
What is a special permission bit set on a file or a directory that lets only the owner of the file/directory or the root user delete or rename the file?
Question 4
Which of the following is a Debian-based computer operating system for Raspberry Pi?
Question 5
Which command is used to print the last 10 lines of a file to the display?
Question 6
Why is the file data.txt empty after executing sort data.txt > data.txt?
Question 7
The script.sh consists of the following lines: #!/bin/bash echo $2 $1 Which output will appear if the command, ./script.sh test1 test2, is entered?
Question 8
What option can be used with tail or head to specify the number of lines to display to the screen?
Question 9
After running a command to delete all of the files beginning with the letter ""a"", the file Access.txt remained. Assuming that the user had the correct ownership and permissions, why was Access.txt not deleted when the command was run?
Question 10
Which file is used to define all of the users on a Linux system?
Question 11
Which command shows who is logged on and what they are doing in the system?
Question 12
Which command is used to copy files from one directory to another?
Question 13
You have been asked to create a script will present the user with a onboard menu in which they can select 4 different commands to run by entering 1, 2, 3, or 4. Which of the following statements should you use to create the simplest and most effective method of choosing the command to run based on the user's input?
Question 14
Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and system as a whole but not with individual processes?
Question 15
You have just created a text file with a secret password in it called password.txt. You want to ensure that the password is not seen when the ls command is run within the current directory. What command should you use to ensure the text file is hidden from the filesystem?
Question 16
Which command is used to change the password of a user's account?
Question 17
Which of the following provides the correct syntax to search for lines beginning with the given pattern using the grep command?
Question 18
Which option will cause the echo command NOT to output a trailing newline?
Question 19
Which command is used to make a shell variable known to subsequently executed programs?
Question 20
Which of the following commands is used to show the information about a directory or a symbolic link?
Question 1
Which of the following statements is FALSE?
1 / 20
- Course Set 1