Udemy Practice Test #2 Flashcards
Which of the following programs on a Linux system could you use instead of windows media player?
VLC
What is the practice of offering people the right to freely distribute copies and modified versions of a work with the stipulation that the same rights be preserved in derivative works created later called
Copy left
Which of the following is not a heightened value proposition of open source software compared to proprietary software
Popularity
When using a web browser what should a user do to prevent private data from being stored locally
Browsers can be configured to use a private mode that does store any data locally
Which of the following commands can search for executable programs or scripts located in the PATH variable?
Which
What must the user do to run a program that is not within a directory located in the PATH variable?
Include the file path to the program
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file?
Grep ‘[Ff]red’data_file
Which command can be used to search help files that mention the word “copy”?
Man -k copy
Your current present working directory is /home/jason/documents/. You just entered cd . into the command line and then enter pwd. What output do you receive?
/Home/jason/documents/
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?
Mv password.txt.password.txt
Which command line can be used to search help files that mention the word ‘copy’?
Man -k copy
Which UID is usually used to represent the first regular user on a Linux system?
1000
Which command would be used to change the owner of foo1.txt from jasondion to administrator?
chown
Which file on a Linux system contains the passwords for each user on the system?
/Etc/shadow/
Which of the following is NOT contained in the /etc/passwd file?
The password of the user’s account
Where should temporary files be stored on a Linux system that can be safely deleted during a reboot?
/tmp
Which of the following provides the correct syntax to search for lines beginning with the given pattern using the grep command?
^pattern
Which option can be used with tail to print the last X bytes of a file to the screen?
-c
Which of the following is the file descriptor number used to represent the Standard In (STDIN)?
0
Which of the following is the file descriptor number used to represent the Standard Out (STDOUT)?
1
Which of the following options is used with tar to create a new .tar archive file?
-c
Which command-line tool will create a filename that ends in .gz?
Gzip
Which command is used to print the full contents of a file to the screen at once?
Cat
Which redirection operator accepts text on the following lines as standard input?
«
Which of the following commands would be used to display the value of the HOME variable to the terminal’s display?
Echo $home
A Linux computer currently has no access to the internet. Which command is used to display and manipulate the information about the network gateway for the system?
Route
Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and process?
/proc
Which version of Linux should be installed on a system with a 32-bit processor?
X86
Which of the following directories contain all of the installed kernels on your system and their needed drivers?
/Boot
.. Which version of Linux should be installed on a system with a 64-bit processor?
X64
Which of the following information can be displayed by top?
Running processes,ordered by CPU or Ram consumption
Which of the following would properly identify the device associated with the second partition on the first hard disk on the first IDE controller of a system?
/Dev/hda2