Test Question Review Flashcards

1
Q

Which keyboard shortcut allows copying highlighted text while working in the command line terminal

A

Ctrl+shift+c

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

How do you get a typical commands builtin usage information?

A

–help

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

Ls -r and the -r means recursive.. what does this command give?

A

List of files in current directory and any files in sub directory

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

Typing $ followed by what key twice in rapid succession will list all variables?

A

Tab

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

What sections does man page have?

A

Name,config,return,value, and error sections

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

What command is used to print one page of text to a screen at a time?

A

Less command

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

What option can be used with cat to display line numbers with text of a file to the screen?

A

-n

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

What option can be used with tail or head to specify the number of lines to display to the screen?

A

-n

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

What is used to redirect the standard out of a command to a file?

A

1>

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

What statement is used to get input from the terminal when a shell script is being run?

A

Read

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

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

A

X86

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

What is used as a virtual or pseudo files stem used to interface with the kernel and process?

A

/proc

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

What is the command that will show system boot time messages?

A

Dmesg

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

What command will display a list of all files in the current directory, including those that may be hidden?

A

ls -a

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

What type of link contains the data in the the target file?

A

Hard link

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

What is defined by a free software license?

A

The conditions for modifying or distributing the licensed software

17
Q

What is the Debian based computer operating system for Raspberry Pi?

18
Q

What is used as a replacement for Microsoft word?

19
Q

What is the UNIX device name for a physical or virtual terminal connection?

20
Q

What is the suite of client server software for creating and using hosting service?

21
Q

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

A

Man -k copy

22
Q

What option of the command history can be used to clear the user’s history?

23
Q

What command shows if /usr/bin is in the current shell search path?

A

echo $PATH

24
Q

What keyword should be used to fill in the blank in the following segment of the given shell scripts, for I *;___ cat $i done

25
What option is used with tar to create a new .tar archive file?
-c
26
What option can be used with tail to print last x bytes of a file to the screen?
-c
27
What is the correct statement to be used for comparison in a linux shell script?
If [condition]
28
Why is the file data.txt empty after exciting sora data.txt>data.txt?
Because rge gets truncated before sort is executed
29
What network device serves as the gateway between your internal network and external network?
Router
30
What's the maximum amount if memory accessible by a 32 bit operating system?
4 GB
31
What software package is a mail server
Postfix
32
What is used as a virtual or pseudo filesystem used to interface with the kernel and system as a whole but not with individual processes?
/sys
33
What command can be used to resolve a DNS name to an IP address?
host
34
What option can be used with useradd to create new user without a home directory?
-M
35
What command is used to show the information about a directory or a symbolic link?
ls -d
36
Which file on a Linux system is modified to set the maximum number of data before a password must be changed?
/etc/shadow
37
What is a special permission bit set on a file or a directory that let's only the owner of the file/directory or the root user to delete or rename the file?
Sticky bit