General Definition Of Bash Builtins & Programs Flashcards

1
Q

man

A

an interface to the on-line manual

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

info

A

GNU info documentation

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

help

A

Display helpful information about bash builtin commands

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

find

A

Search for files and directories based on specific search parameters

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

stat

A

Displays inode information of a file/directory

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

cat

A

concatenate file and print on to the standard output

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

ls

A

list directory contents

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

File Text Manipulation

grep

A

Find lines in a file that match a regular expression

grep [options] pattern [files]

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

egrep

A

Just like grep but uses a differeted (“extented”) language for regular expressions

egrep [options] pattern [files]

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

fgrep

A

Just like grep, but instead of accepting regular expressions, it accepts a list of fixed strings, sperated by newlines.

fgrep [options] [fixed_strings] [files]

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

File Text Manipulation

cut

A

Extract columns from a file

cut -(b|c|f)range [options] [files]

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

File Text Manipulation

paste

A

Append column based data

paste [options] [files]

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

File Text Manipulation

tr

A

translate characters into other characters

tr [options] char set 1 [char set 2]

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

File Text Manipulation

expand

unexpand

A

Covert between tabs and spaces

expand [options] [files]

unexpanded [options] [files]

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

File Text Manipulation

sort

A

Sort lines of text by various criteria

sort [options] [files]

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

File Text Manipulation

uniq

A

Locate identical lines in a file

uniq [options] [files]

17
Q

File Text Manipulation

tee

A

Copy a file and print in on standard output, simultaneously

tee [options] [files]

18
Q

File Text Manipulation

awk

A
  • Filter data in file to create report works with columns/rows like data. (EX: print all data in column 2) output filtered data to the stdout stream. - pattern scanning and processing language
19
Q

File Text Manipulation

sed

A
  • modify/edit files (ex: search and replace text and outputs to the stdout stream) - stream editor for filtering and transforming text