Web site developers - 182 Part II . Getting Around in Linux
182 Part II . Getting Around in Linux Table 4-13 Options Used with pr Option Use -a Prints columns across rather than down. -d Double-spaces the output. -f Uses form feeds instead of newline characters to separate pages. -h HEADER Uses a centered HEADER instead of the filename as the header. -l PAGELENGTH Sets the number of lines per page to PAGELENGTH. -m Prints all files in parallel, one per column. -N NUMBER Starts counting with NUMBER at first line of first page printed. -w WIDTH Sets page width to WIDTH (default value is 72) characters for multiple text-column output only. -W WIDTH Sets page width to WIDTH (default value is 72) characters always. -COLUMN Produces COLUMN-sized columns and balances the number of lines in the columns on each page. Displaying files backwards The tac utility is used to display lines of a file in reverse where, by default, a new line begins after the line feed character. This is the opposite of the cat command in spelling and function. The syntax for the tac utility is as follows: # tac -options file The options used with this utility are shown in Table 4-14. Table 4-14 Options Used with tac Option Use -r Treats the separator string as a regular expression. -b Attaches the separator to the beginning of the line that precedes it in the file. -s SEPARATOR Uses the SEPARATOR character instead of the line feed character as the record separator.
We recommend high quality webhost to host and run your jsp application: christian web host services.