Chapter 3 Flashcards

(63 cards)

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 filename extension .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 head command displays the first 10 lines.

A

head command

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

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

A

Home directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
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

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

The files that represent the same data as other files.

A

Linked file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
An alias for the ls –l command; it gives a long file listing.
11 comand
26
A file that contains past system events.
Log file
27
A Linux command used to list the files in a given directory.
ls command
28
A Linux command used to display a text file page-by-page and line-by-line on the terminal screen.
more command
29
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
30
A user-friendly terminal text editor that uses Ctrl key combinations to perform basic functions.
Nano editor
31
A Linux command used to display the contents of a file in octal format.
od command
32
The directory that is one level closer to the root directory in the directory tree relative to your current directory.
Parent directory
33
A Linux command used to display the current directory in the directory tree.
pwd (print working directory) command
34
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)
35
The pathname of a target directory relative to your current directory in the tree.
Relative pathname
36
A text file that contains a list of commands or constructs for the shell to execute in order.
Shell script
37
A named pipe connecting processes on two different computers; it can also be represented by a file on the filesystem.
Socket file
38
A file used to identify hardware devices such as hard disks and serial ports.
Special device file
39
A Linux command used to search for and display text characters in a binary file.
strings command
40
A directory that resides within another directory in the directory tree.
Subdirectory
41
A feature of the BASH shell that fills in the remaining characters of a unique filename or directory name when the user presses the Tab key.
Tab-completion feature
42
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
43
A Linux command used to display lines of text at the end of a file; by default, the tail command displays the last 10 lines of the file.
tail command
44
A file that stores information in a readable text format.
Text file
45
The programs that allow for the creation, modification, and searching of text files.
Text tools
46
A powerful command-line text editor available on most UNIX and Linux systems.
Vi editor
47
The metacharacters used to match certain characters in a file or directory name; they are often used to specify multiple files.
Wildcard metacharacters
48
Binary executable program files (similar to .exe files within Windows)
.bin
49
C programming language source code files
.c
50
C++ programming language source code files
.cc, .cpp
51
HTML (Hypertext Markup Language) files
.html, .htm
52
Files formatted for printing with postscript
.ps
53
Text files
.txt
54
Archived files (contain other files within)
.tar
55
Compressed files
.gz, .bz2, .xz, .Z
56
Compressed archived files
.tar.gz, .tgz, .tar.bz2, .tar.xz, .tar.Z
57
Configuration files (contain text)
.conf, .cfg
58
Shared object (programming library) files
.so
59
Compiled object files
.o, .ko
60
PERL (Practical Extraction and Report Language) programs
.pl
61
Tcl (Tool Command Language) programs
.tcl
62
Binary files that contain graphical images
.jpg, .jpeg, .png, .tiff, .xpm, .gif
63