Guide to UNIX Using Linux 4th Ed

studied byStudied by 30 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 120

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

121 Terms

1

Pipe Operator

A symbol (|) used in UNIX/Linux commands to redirect the output of one command as input to another command.

New cards
2

Grep Command

A command used in UNIX/Linux to search for a specified pattern in a file and display the lines containing the pattern.

New cards
3

Uniq Command

A command used in UNIX/Linux to remove duplicate lines from a file.

New cards
4

Comm Command

A command used in UNIX/Linux to compare two files.

New cards
5

Diff Command

A command used in UNIX/Linux to compare and select the differences between two files.

New cards
6

Wc Command

A command used in UNIX/Linux to count words, characters, and lines in a file.

New cards
7

Sed Command

A command used in UNIX/Linux for stream editing.

New cards
8

Tr Command

A command used in UNIX/Linux to translate and delete characters.

New cards
9

Pr Command

A command used in UNIX/Linux to format and print text.

New cards
10

Awk Command

A command used in UNIX/Linux to invoke Awk, a processing and pattern-scanning language.

New cards
11

UNIX/Linux systems

Operating systems that offer a combination of grep-type commands like grep, egrep, fgrep, and zgrep.

New cards
12

grep

Command used to search for patterns in files.

New cards
13

egrep

Command used for "extended" or more complex expressions, also executed as grep -E.

New cards
14

fgrep

Command used to search for fixed or text strings only, also executed as grep -F on most systems.

New cards
15

zgrep

Command used to perform searches on compressed or zipped files.

New cards
16

uniq command

Command that removes duplicate lines from a file, requiring sorted input.

New cards
17

Syntax

The structure or format in which a command is written.

New cards
18

-u option

Outputs only the lines of the source file that are not duplicated.

New cards
19

-d option

Outputs one copy of each line that has a duplicate and does not show unique lines.

New cards
20

-i option

Ignores case sensitivity.

New cards
21

-c option

Starts each line by showing the number of each instance.

New cards
22

comm command

Command that identifies duplicate lines in two files without deleting them.

New cards
23

diff command

Command that shows lines that differ between two files.

New cards
24

wc command

Command used to count the number of lines, words, and bytes in text files.

New cards
25

Sed

A stream editor used for making global changes on one or more files, with options like deleting lines, printing lines, substituting text, and appending text.

New cards
26

Tr Command

A command that translates characters by copying data from standard input to standard output, substituting or deleting characters specified by options and patterns.

New cards
27

Pr Command

A command that prints specified files in paginated form on standard output, with options for customizing headers, double-spacing output, and setting the number of lines per page.

New cards
28

Logical Structures

Files consist of records, and records consist of fields, representing logical entities like a payroll file, an employee pay record, or a field for an employee Social Security number.

New cards
29

Record Design

The organization of information into files, records, and fields, influencing the efficiency and effectiveness of data handling commands like selection, manipulation, and transformation.

New cards
30

Shell scripts

Scripts used to automate tasks in an application and can be run using alternate methods.

New cards
31

Record layout

Identifies each field in a record by name and data type, such as numeric or nonnumeric, to store relevant information.

New cards
32

Programmer Activity Status Report

A report that summarizes the activities of programmers and projects.

New cards
33

Field separator

Character used to separate fields in a record, such as a colon (:).

New cards
34

Numeric field

A field in a record that contains numerical data, preferred for uniquely identifying records due to faster interpretation by computers.

New cards
35

Project status codes

Numeric codes (1=Unscheduled, 2=Started, 3=Completed, 4=Canceled) used to indicate the status of a project.

New cards
36

Key field

A common field shared by linked files used to join files together.

New cards
37

Flat files

Files that store data in plain text format and can be easily created and manipulated using text editors like vi and Emacs.

New cards
38

Variable-record format

File format where records have varying lengths, with a delimiter (such as a colon) between each field.

New cards
39

Flowchart

A visual representation of the logic and steps involved in programmer project assignments, illustrating the flow of data between files.

New cards
40

Awk

A programming language and command used for text processing and generating reports in Unix and Linux environments.

New cards
41

printf function

A function in Awk used for formatted printing, allowing for precise control over the output format.

New cards
42

format

An expression in the printf function that contains literal text and specifications for formatting data fields.

New cards
43

$expr1, $expr2, $expr3

Represent data fields in Awk, typically referring to $1, $2, $3, and so on in the programmer file.

New cards
44

Hands-on Project

Practical exercises that allow for hands-on learning and application of concepts discussed in the text.

New cards
45

Shell Script

A script containing a series of commands that can be executed in a specific order, often used to automate tasks in Unix and Linux systems.

New cards
46

Bourne Again Shell (Bash)

A widely used shell in Linux systems, providing compatibility with the original Bourne shell and additional features.

New cards
47

Comments

Text in a script file that provides explanations, documentation, and notes for users and programmers, marked by the pound (#) character.

New cards
48

Script Execution

Running a shell script in a shell environment, such as using the sh command followed by the script name or making the script executable and running it with ./scriptname.

New cards
49

Shell

The first line of a script where commands are executed.

New cards
50

Shell Script

A script containing commands to be executed in a shell.

New cards
51

Hands-on Project

Practical tasks to apply and practice the concepts learned.

New cards
52

Programmer Activity Status Report

A report detailing the activities of a programmer.

New cards
53

Selection Commands

Commands that extract information from files.

New cards
54

Manipulation and Transformation Commands

Commands that alter and format extracted information.

New cards
55

Grep Command

Searches for a specific pattern in a file.

New cards
56

Uniq Command

Removes duplicate lines from a file.

New cards
57

Comm Command

Compares lines common to two different files.

New cards
58

Diff Command

Determines the minimum set of changes needed to match the contents of two files.

New cards
59

Wc Command

Counts the number of bytes, words, or lines in a file.

New cards
60

Sed Command

A stream editor for making global changes to large files.

New cards
61

Tr Command

Translates characters, substituting or deleting specified characters.

New cards
62

Pr Command

Prints the standard output in pages.

New cards
63

Record Layout

Identifies fields by name and data type in a record.

New cards
64

Logical Structure

Organization of information in files, records, and fields.

New cards
65

Pipe Operator (|)

Redirects the output of one command to the input of another.

New cards
66

Comm Command

A command used to compare two sorted files line by line.

New cards
67

Grep Command

A command used to search for patterns in files.

New cards
68

-r Option

An option in the grep command that enables searching through subdirectories.

New cards
69

Uniq Command

A command used to remove duplicate lines from a sorted file.

New cards
70

Pipe Operator

A symbol (|) used to direct the output of one command as input to another.

New cards
71

Awk Command

A command-line utility for pattern scanning and processing.

New cards
72

Tr Command

A command used for translating or deleting characters.

New cards
73

Pr Command

A command used to paginate or columnate files for printing.

New cards
74

Grep Command

A command-line utility for searching plain-text data sets for lines that match a regular expression.

New cards
75

More Command

A command that allows the user to view text files one screen at a time in the Unix/Linux operating system.

New cards
76

Head Command

A command that outputs the first part of files in Unix/Linux.

New cards
77

Regular Expression

A sequence of characters that define a search pattern, mainly used for pattern matching with strings.

New cards
78

Metacharacter

A character with a special meaning in a regular expression, such as "^" which signifies the beginning of a line.

New cards
79

Pipe Operator

A symbol (|) used to pass the output of one command as input to another command in Unix/Linux.

New cards
80

Uniq Command

A command-line utility that reports or filters out repeated lines in a file.

New cards
81

Comm Command

A command-line utility in Unix/Linux used to compare two sorted files line by line.

New cards
82

diff

A command-line tool used to compare the contents of two files line by line.

New cards
83

UNIX/Linux

Operating systems known for their powerful command-line interface and stability.

New cards
84

wc command

A command-line tool used to count the number of lines, words, and bytes in a file.

New cards
85

sed

A stream editor used to manipulate text files by performing operations like search, replace, and delete on specific lines.

New cards
86

tr command

A command used to translate characters in files, such as converting from lowercase to uppercase letters, deleting specified characters, and replacing characters.

New cards
87

-d option

An option used with the tr command to delete input characters found in string1 from the output.

New cards
88

-s option

An option of the tr command that checks for sequences of a character or string of characters repeated several consecutive times and replaces them with the specified character or string.

New cards
89

pr command

A command used to format files, with options like -h for header and -l for limiting the number of lines per page.

New cards
90

Programmer Activity Status Report

A polished report created through a series of related projects to design and implement various programmer and project reports.

New cards
91

awk command

A command used to manipulate and analyze text files, often used for pattern scanning and processing.

New cards
92

cut command

A command used to extract specific parts of a file, such as fields or columns.

New cards
93

more command

A command used to display the contents of a file one screen at a time.

New cards
94

Awk

A versatile programming language mainly used for pattern scanning and processing.

New cards
95

Cut

A command-line utility used to extract sections from each line of input.

New cards
96

Sort

A command-line utility for sorting lines of text files.

New cards
97

Uniq

A command-line utility that reports or filters out repeated lines in a file.

New cards
98

Comm

A command-line utility for comparing two sorted files line by line.

New cards
99

Join

A command-line utility for combining lines from two files based on a common field.

New cards
100

Sed

A stream editor for filtering and transforming text.

New cards

Explore top notes

note Note
studied byStudied by 14 people
1005 days ago
4.0(1)
note Note
studied byStudied by 162 people
624 days ago
5.0(1)
note Note
studied byStudied by 16 people
122 days ago
5.0(1)
note Note
studied byStudied by 22 people
743 days ago
5.0(1)
note Note
studied byStudied by 61 people
882 days ago
4.0(1)
note Note
studied byStudied by 8 people
176 days ago
5.0(1)
note Note
studied byStudied by 10 people
898 days ago
5.0(1)
note Note
studied byStudied by 255 people
686 days ago
4.8(9)

Explore top flashcards

flashcards Flashcard (127)
studied byStudied by 31 people
911 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 19 people
266 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 8 people
784 days ago
5.0(1)
flashcards Flashcard (28)
studied byStudied by 29 people
737 days ago
5.0(2)
flashcards Flashcard (67)
studied byStudied by 9 people
837 days ago
5.0(1)
flashcards Flashcard (315)
studied byStudied by 51 people
763 days ago
5.0(4)
flashcards Flashcard (29)
studied byStudied by 15 people
379 days ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 84 people
17 days ago
5.0(1)
robot