File Manipulation Commands Flashcards
1
Q
head
A
- A command-line utility for outputting the first ten lines of a file provided to it
2
Q
tail
A
- A command line utility for outputting the last ten lines of a file provided to it
3
Q
cat
A
- (concatenate)
- A command-line utility for outputting the contents of a file to the screen
- Allows you to create, view, concatenate files (Linux)
4
Q
grep
A
- A command-line utility for searching plain-text data sets for lines that have a match on a regular expression or pattern
5
Q
chmod
A
- A command-line utility used to change the access permissions of file system objects
- Linux
6
Q
logger
A
- Utility that provides an easy way to add messages to the /var/log/syslog file from the command line or from other files