Security Tools Part 3 (File Manipulation) Flashcards

1
Q

What command-line utility is used for outputting the first ten lines of a file?

A

head

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

What command-line utility is used for outputting the last ten lines of a file?

A

tail

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

What command-line utility is used for outputting the entire file?

A

cat (concatenate)

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

What command-line utility is used for searching plain-text data for lines that match the search input?

A

grep

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

What command-line utility is used to change access permissions of file system objects?

A

chmod (change mod)

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

What utility provides an easy way to add message to the /var /log /syslog files from the command line or other files?

A

logger

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