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
Q

The files that represent the same data as other files.

A

linked file

26
Q

An alias for the ls –l command; it gives a long file listing.

A

ll command

27
Q

A file that contains past system events.

A

log file

28
Q

A Linux command used to list the files in a given directory.

A

ls command

29
Q

A Linux command used to display a text file page-by-page and line-by-line on the terminal screen.

A

more command

30
Q

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.

A

named pipe file

31
Q

A user-friendly terminal text editor that uses Ctrl key combinations to perform basic functions.

A

nano editor

32
Q

A Linux command used to display the contents of a file in octal format.

A

od command

33
Q

The directory that is one level closer to the root directory in the directory tree relative to your current directory.

A

parent directory

34
Q

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

A

pwd (print working directory) command

35
Q

The special metacharacters used to match patterns of text within text files; they are commonly used by text tool commands, including grep.

A

regular expressions (regexp)

36
Q

The pathname of a target directory relative to your current directory in the tree.

A

relative pathname

37
Q

A text file that contains a list of commands or constructs for the shell to execute in order.

A

shell script

38
Q

A named pipe connecting processes on two different computers; it can also be represented by a file on the filesystem.

A

socket file

39
Q

A file used to identify hardware devices such as hard disks and serial ports.

A

special device file

40
Q

A Linux command used to search for and display text characters in a binary file.

A

strings command

41
Q

A directory that resides within another directory in the directory tree.

A

subdirectory

42
Q

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.

A

Tab-completion feature

43
Q

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.

A

tac command

44
Q

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.

A

tail command

45
Q

A file that stores information in a readable text format.

A

text file

46
Q

The programs that allow for the creation, modification, and searching of text files.

A

text tools

47
Q

A powerful command-line text editor available on most UNIX and Linux systems.

A

vi editor

48
Q

The metacharacters used to match certain characters in a file or directory name; they are often used to specify multiple files.

A

wildcard metacharacters