Posts Tagged ‘zip folder in linux’
How to zip / unzip a folder in linux
January 9, 2012
Leave a comment
My friend keep forgetting the command to zip & extract a folder in Linux , he use to ask me atleast once in a week. bcoz of him I am writing here , how to zip and unzip in linux.
>> zip – package and compress (archive) files
# zip silence silence.zip
or more concisely
# zip -r silence.zip silence
>> unzip – list, test and extract compressed files in a ZIP archive
To use unzip to extract all members of the archive letters.zip into the current directory and subdirectories below it, creating any subdirectories as
necessary:
# unzip silence.zip
To extract all members of letters.zip into the current directory only:
# unzip -j silence.zip
mydear friend , hope this link will be bookmarked by you 😉