File Manipulation Commands Flashcards

1
Q

head

A
  • A command-line utility for outputting the first ten lines of a file provided to it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

tail

A
  • A command line utility for outputting the last ten lines of a file provided to it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

chmod

A
  • A command-line utility used to change the access permissions of file system objects
  • Linux
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly