Chapter 3 - Exploring Linux Filesystems Flashcards

1
Q

A metacharacter used to represent a user’s home directory.

A

~ metacharacter

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

The full pathname to a certain file or directory starting from the root directory.

A

absolute pathname

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

A file that contains machine language (binary 1s and 0s) and stores information (such as common functions and graphics) used by binary compiled programs.

A

binary data file

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

A Linux command used to display (or concatenate) the entire contents of a text file to the screen.

A

cat command

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

A Linux command used to change the current directory in the directory tree.

A

cd (change directory) command

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

One of the two modes in vi; it allows a user to perform any available text-editing task that is not related to inserting text into the document.

A

command mode

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

The joining of text together to make one larger whole. In Linux, words and strings of text are joined together to form a displayed file.

A

concatenation

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

A Linux command that compares the contents of text files to identify any differences.

A

diff command

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

A special file on the filesystem used to organize other files into a logical tree structure.

A

directory

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

A variant of the grep command used to search files for patterns, using extended regular expressions.

A

egrep command

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

A popular and widespread text editor more conducive to word processing than vi. It was originally developed by Richard Stallman.

A

Emacs (Editor MACroS) editor

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

A file that can be executed by the Linux operating system to run in memory as a process and perform a useful function.

A

executable program

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

A variant of the grep command that does not allow the use of regular expressions.

A

fgrep command

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

A Linux command that displays the file type of a specified filename.

A

file command

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

The process of using wildcard metacharacters within a command to match multiple files or directories.

A

file globbing

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

The user-friendly identifier given to a file.

A

filename

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

A series of identifiers following a dot ( . ) at the end of a filename, used to denote the type of the file; the __________________ .txt denotes a text file.

A

filename extension

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

A common text editor used within GUI environments.

A

gedit editor

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

A Linux command that searches files for patterns of characters using regular expression metacharacters. The command name is short for “global regular expression print.”

A

grep command

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

A Linux command that displays the first set of lines of a text file; by default, the ____ command displays the first 10 lines.

A

head command

21
Q

A directory on the filesystem set aside for users to store personal files and information.

A

home directory

22
Q

One of the two modes in vi; it allows the user to insert text into the document but does not allow any other functionality.

A

insert mode

23
Q

One of the two modes in vi; it allows the user to insert text into the document but does not allow any other functionality.

A

insert mode

24
Q

A Linux command used to display a text file page-by-page on the terminal screen; users can then use the cursor keys to navigate the file.

A

less command

25
The files that represent the same data as other files.
linked file
26
An alias for the ls –l command; it gives a long file listing.
ll command
27
A file that contains past system events.
log file
28
A Linux command used to list the files in a given directory.
ls command
29
A Linux command used to display a text file page-by-page and line-by-line on the terminal screen.
more command
30
A temporary connection that sends information from one command or process in memory to another; it can also be represented by a file on the filesystem.
named pipe file
31
A user-friendly terminal text editor that uses Ctrl key combinations to perform basic functions.
nano editor
32
A Linux command used to display the contents of a file in octal format.
od command
33
The directory that is one level closer to the root directory in the directory tree relative to your current directory.
parent directory
34
A Linux command used to display the current directory in the directory tree.
pwd (print working directory) command
35
The special metacharacters used to match patterns of text within text files; they are commonly used by text tool commands, including grep.
regular expressions (regexp)
36
The pathname of a target directory relative to your current directory in the tree.
relative pathname
37
A text file that contains a list of commands or constructs for the shell to execute in order.
shell script
38
A named pipe connecting processes on two different computers; it can also be represented by a file on the filesystem.
socket file
39
A file used to identify hardware devices such as hard disks and serial ports.
special device file
40
A Linux command used to search for and display text characters in a binary file.
strings command
41
A directory that resides within another directory in the directory tree.
subdirectory
42
A feature of the BASH shell that fills in the remaining characters of a unique filename or directory name when the user presses the ___ key.
Tab-completion feature
43
A Linux command that displays a file on the screen, beginning with the last line of the file and ending with the first line of the file.
tac command
44
A Linux command used to display lines of text at the end of a file; by default, the ____ command displays the last 10 lines of the file.
tail command
45
A file that stores information in a readable text format.
text file
46
The programs that allow for the creation, modification, and searching of text files.
text tools
47
A powerful command-line text editor available on most UNIX and Linux systems.
vi editor
48
The metacharacters used to match certain characters in a file or directory name; they are often used to specify multiple files.
wildcard metacharacters