Pages

How to Extract or Compress .gz file

 How to view file content
      gunzip -c file-name.gz 
How to Extract file content.(Original .gz file will be replace)
      gunzip file-name.gz 
How to Extract file content to another file.
Noted that you can use different file name or extension (Original .gz file are keep intact)
      gunzip -c file-name.gz > file-name.txt

How to Compress file-name.txt to file-name.txt.gz in the current directory
      gzip file-name.txt

No comments:

Post a Comment

You might also like:

  • Configure XP For Automatic Logon
    Configure XP For Automatic Logon

    To do this, follow these steps: Click Start,…

  • Import PST to Zimbra
    Import PST to Zimbra

    Like I promise before, let me brief you abut my…

  • Extract username & Password stored in Firefox
    Extract username & Password stored in Firefox

    Source: PasswordFox Description PasswordFox is a…

  • Setup a Linux application to automatically startup when login
    Setup a Linux application to automatically startup when login

    Manual on openSUSE 11.2 Go to System >…

Popular Posts