Unix Basics Practice Test: Unix Simple Filters — Flashcards | Unix Programming | FatSkills

Unix Basics Practice Test: Unix Simple Filters — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Quiz on filtering commands, sort command, unique and tr commands.

Here are some examples of Unix simple filters:
cat:
This command concatenates files and prints them to standard output. It can also be used to create new files.
grep: This command searches for a pattern in a file or files and prints the lines that match the pattern.
head: This command prints the first few lines of a file.
sort: This command sorts the lines of a file in alphabetical or numerical order.
tail: This command prints the last few lines of a file.
tr: This command translates, squeezes, and/or deletes characters from a file.

These are just a few examples of the many Unix simple filters that are available. These filters can be used to perform a variety of tasks, such as searching for text in a file, sorting a list of items, or removing duplicate lines from a file.

1 of 54 Ready
Filter’s are a category of commands that take the advantage of shell redirection feature.
True
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password