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
2
Q
What command-line utility is used for outputting the last ten lines of a file?
A
tail
3
Q
What command-line utility is used for outputting the entire file?
A
cat (concatenate)
4
Q
What command-line utility is used for searching plain-text data for lines that match the search input?
A
grep
5
Q
What command-line utility is used to change access permissions of file system objects?
A
chmod (change mod)
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