Syntax rm filename WORD Command To list the content count of no of lines words

Syntax rm filename word command to list the content

This preview shows page 2 - 4 out of 5 pages.

Syntax: $rm <filename> WORD Command: To list the content count of no of lines, words and characters. Syntax: $wc<filename> Options: wc -c to display no of characters. wc -l to display only the lines. wc -w to display the no of words. LINE PRINTER: To print the line through the printer, we use lp command. Syntax: $lp <filename> PAGE Command: This command is used to display the contents of the file page wise & next page can be viewed by pressing the enter key. Syntax: $pg <filename> F ILTERS AND PIPES HEAD: It is used to display the top ten lines of file. Syntax: $head<filename> TAIL: This command is used to display the last ten lines of file. Syntax: $tail<filename> PAGE: This command shows the page by page a screenfull of information is displayed after which the page command displays a prompt and passes for the user to strike the enter key to continue scrolling. Syntax: $pg <filename> MORE: It also displays the file page by page.To continue scrolling with more command. Press the space bar key. S yntax: $more<filename> GREP: This command is used to search and print the specified patterns from the file. Sy ntax: $grep [option] pattern <filename> SORT: This command is used to sort the datas in some order. Syntax: $sort<filename> PIPE: It is a mechanism by which the output of one command can be channeled into the input of another command. TR: The tr filter is used to translate one set of characters from the standard inputs to another. Syntax: $tr “[a - z]” “[A - Z]”
Image of page 2