Post Exam 1 Flashcards

1
Q

tee

A

capture the output of a command and save it to a file while seeing the output on your screen

command | tee fileName

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

cat > fileName

A

create the file and manual entry the contents

cat > filename (file created)
file information
file information
file information

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

cat file1 file2

A

combine and display both files

can be used to combine the files and save the result
cat file1 file2 > newfile

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

paste

A

command that combines files side by side

file1line1 file2line1
file1line2 file2line2
file1line3 file2line3

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

paste -d

A

command that combines files side by side with a delimiter option. The delimiter allows a different separator (other than tab) between the columns.

Ex: paste -d ‘,’

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

find

A

command to find a file or directory by name

file /location/directory -name “searchcriteria”

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

paste -s

A

command that combines files side by side with an option. -s cases files to be pasted one after the other instead of in parallel.

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