Module 2 Flashcards

(49 cards)

1
Q

Section 1

A

User commands
Both executable & shell programs

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

Section 2

A

System calls
Kernel routines that are invoked from user space

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

Section 3

A

Library functions
Provided by program libraries

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

Section 4

A

Special files
Such as device files

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

Section 5

A

File formats
For many configuration files & structures

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

Section 6

A

Game & screensavers
Historical section for amusing programs

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

Section 7

A

Conventions, standards, & miscellaneous
Protocols & file systems

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

Section 8

A

System administration & privileges commands
Maintenance tasks

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

Section 9

A

Linux kernel API
Internal kernel cells

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

Spacebar

A

Scroll forward (down) one screen

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

PageDown

A

Scroll forward one screen

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

PageUp

A

Scroll backward (up) one screen

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

DownArrow

A

Scroll forward one line

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

UpArrow

A

Scroll backward one line

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

D

A

Scroll forward one half-screen

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

U

A

Scroll backward one half-screen

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

/string

A

Search forward for “string” in the man page

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

N

A

Repeat previous search forward in the man page

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

Shift+N

A

Repeat previous search backward in the man page

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

G

A

Go to the start of the man page

21
Q

Shift+G

A

Go to the end of the man page

22
Q

Q

A

Exit man & return to the command shell prompt

23
Q

man

A

Allows users to view the reference manual of a command or utility run in the terminal

24
Q

less

A

Terminal pager program used to view the contents of a text file one screen at a time

25
tee
Used w/ a pipe, reads standard input, then writes the output of a program to standard output & simultaneously copies it into the specified file or files Copies its standard input to its standard output & also redirects its standard output to the files that are given as arguments to the command
26
set
Lists all shell variables that are currently set
27
export
Can assign any variable that is defined in the shell as an environment variable by marking it for export Displays all exported variables
28
unalias
Unsets an alias
29
Standard Input
Channel 0 Reads input from the keyboard stdin
30
Standard Output
Channel 1 Sends normal output to the terminal stdout
31
Standard Error
Channel 2 Sends error message to the terminal stderr
32
> file
Redirect stdout to overwite a file
33
>> file
Redirect stdout to append a file
34
2>file
Redirects stderr to overwrite a file
35
2>/dev/null
Discard stderr error messages by redirecting them to /dev/null
36
> file 2>&1
Redirect stdout & stderr to overwrite the same file Same as: &>file
37
&>file
Redirect stdout & stderr to overwrite the same file Same as: > file 2>&1
38
>> file 2>&1
Redirect stdout & stderr to append to the same file Same as: &>> file
39
&>> file
Redirect stdout & stderr to append to the same file Same as: >> file 2>&1
40
Vim - "u" key
Undoes the most recent edit
41
Vim - "x" key
Deletes a single character
42
Vim - ":w" command
Writes (saves) the file & remains in command mode for more editing
43
Vim - ":wq" command
Writes (saves) the file & quits Vim
44
Vim - ":q!" command
Quits Vim, & discards all file changes since the last write
45
Insert Mode
"i" All typed of text becomes file content
46
Visual Mode
"v" Multiple characters may be selected for text manipulation
47
Extended Command Mode
":" Perform tasks such as writing the file (to save it) & quitting the Vim editor
48
Command Mode
Used for navigation & text manipulation
49