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?

A

Raspbian

18
Q

What is used as a replacement for Microsoft word?

A

Writer

19
Q

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

A

Tty

20
Q

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

A

ownCloud

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?

A

-c

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

A

do

25
Q

What option is used with tar to create a new .tar archive file?

A

-c

26
Q

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

A

-c

27
Q

What is the correct statement to be used for comparison in a linux shell script?

A

If [condition]

28
Q

Why is the file data.txt empty after exciting sora data.txt>data.txt?

A

Because rge gets truncated before sort is executed

29
Q

What network device serves as the gateway between your internal network and external network?

A

Router

30
Q

What’s the maximum amount if memory accessible by a 32 bit operating system?

A

4 GB

31
Q

What software package is a mail server

A

Postfix

32
Q

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?

A

/sys

33
Q

What command can be used to resolve a DNS name to an IP address?

A

host

34
Q

What option can be used with useradd to create new user without a home directory?

A

-M

35
Q

What command is used to show the information about a directory or a symbolic link?

A

ls -d

36
Q

Which file on a Linux system is modified to set the maximum number of data before a password must be changed?

A

/etc/shadow

37
Q

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?

A

Sticky bit