Udemy Practice Test #2 Flashcards

1
Q

Which of the following programs on a Linux system could you use instead of windows media player?

A

VLC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Copy left

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is not a heightened value proposition of open source software compared to proprietary software

A

Popularity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When using a web browser what should a user do to prevent private data from being stored locally

A

Browsers can be configured to use a private mode that does store any data locally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following commands can search for executable programs or scripts located in the PATH variable?

A

Which

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What must the user do to run a program that is not within a directory located in the PATH variable?

A

Include the file path to the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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?

A

Grep ‘[Ff]red’data_file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which command can be used to search help files that mention the word “copy”?

A

Man -k copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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?

A

/Home/jason/documents/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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?

A

Mv password.txt.password.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which command line can be used to search help files that mention the word ‘copy’?

A

Man -k copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which UID is usually used to represent the first regular user on a Linux system?

A

1000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which command would be used to change the owner of foo1.txt from jasondion to administrator?

A

chown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which file on a Linux system contains the passwords for each user on the system?

A

/Etc/shadow/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following is NOT contained in the /etc/passwd file?

A

The password of the user’s account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Where should temporary files be stored on a Linux system that can be safely deleted during a reboot?

A

/tmp

17
Q

Which of the following provides the correct syntax to search for lines beginning with the given pattern using the grep command?

A

^pattern

18
Q

Which option can be used with tail to print the last X bytes of a file to the screen?

A

-c

19
Q

Which of the following is the file descriptor number used to represent the Standard In (STDIN)?

A

0

20
Q

Which of the following is the file descriptor number used to represent the Standard Out (STDOUT)?

A

1

21
Q

Which of the following options is used with tar to create a new .tar archive file?

A

-c

22
Q

Which command-line tool will create a filename that ends in .gz?

A

Gzip

23
Q

Which command is used to print the full contents of a file to the screen at once?

A

Cat

24
Q

Which redirection operator accepts text on the following lines as standard input?

A

«

25
Q

Which of the following commands would be used to display the value of the HOME variable to the terminal’s display?

A

Echo $home

26
Q

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?

A

Route

27
Q

Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and process?

A

/proc

28
Q

Which version of Linux should be installed on a system with a 32-bit processor?

A

X86

29
Q

Which of the following directories contain all of the installed kernels on your system and their needed drivers?

A

/Boot

30
Q

.. Which version of Linux should be installed on a system with a 64-bit processor?

A

X64

31
Q

Which of the following information can be displayed by top?

A

Running processes,ordered by CPU or Ram consumption

32
Q

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?

A

/Dev/hda2