how many filters of Linux are discussed in the book
Answers
Answer:
Filters are programs that take plain text(either stored in a file or produced by another program) as standard input, transforms it into a meaningful format, and then returns it as standard output. Linux has a number of filters. Some of the most commonly used filters are explained below:
1. cat : Displays the text of the file line by line.
2. head : Displays the first n lines of the specified text files. If the number of lines is not specified then by default prints first 10 lines.
3. tail : It works the same way as head, just in reverse order. The only difference in tail is, it returns the lines from bottom to up.
Syntax:
tail [-number_of_lines_to_print] [path]
4. sort : Sorts the lines alphabetically by default but there are many options available to modify the sorting mechanism. Be sure to check out the man page to see everything it can do.
Syntax:
sort [-options] [path]
Explanation:
PLEASE MARK ME AS BRAINLIEST