How do you reverse a file?

Quốc Ân

New member
How do you reverse a file?
Answer
5 ways to reverse the order of file content
  1. tac command is the reverse of cat. It simply prints the file in reverse order. …
  2. This option uses a combination of commands to reverse the file order. …
  3. sed is the most trickiest of all. …
  4. awk solution is a pretty simple one. …
  5. perl solution is pretty simple due to the reverse function of perl.
6 июн. 2012 г.
 

Tìm kiếm

Back
Top