The tac command is used to display a file line-by-line backwards. The syntax of the tac command is as follows:
tac [OPTION]… [FILE]…
Where,
| Option | Description |
| -b, –before | Attaches a separator before, instead of after. |
| -r, –regex | Interprets the separator as a regular expression. |
| -s, –separator=STRING | Uses STRING as the separator instead of newline. |
No comments:
Post a Comment