The Archives

  • 07.Jan.09
    Viewing compressed files cmd | rafacas | (0)
    $ zmore test.zip Allows examination of the compressed file test.zip. zmore filters for paging through text one screenful at a time, as the more command. It works on files compressed with compress, pack, gzip or zip.
  • 15.Aug.08
    Looking at the End shell | fernape | (0)
    From time to time we want to see only a few lines near the end of a file. We often use cat or more, but this can be tedious when the file is big (like a very long log file). You can use these commands to read from the end of the file: tac. It works exactly as cat but reading from the end of the file tail. It reads from the end of the file. It has more features than tac. The one I found to be more interesting is the -f flag. It makes tail to continue reading from the ...