Linux display file in reverse order

Linux display file in reverse order

Users are allowed to display a particular file in reverse when they are using Linux based computer system. The command cat is used to display a file.

  • To view a file in reverse, there is simply the tac command. It is actually the CAT written in reverse:

tac file

  • Like the command cat, you can concatenate several files, which will be put together, but in reverse:
    tac file1 file2 file3
Need more help with Linux? Check out our Forum!
Around the same subject