how to unzip on linux code example
Example 1: unzip command in linux
sudo apt-get install unzip
Example 2: ubuntu unzip zip
unzip file.zip -d destination_folder
Example 3: unzip linux syntax
unzip filename.zip
-d /path/to/extact/location: Unzip an archive to a different directory.
-j: Unzip without creating new folders, if the zipped archive contains a folder structure.
-l: Lists the contents of an archive file without extracting it.
-n: Do not overwrite existing files; supply an alternative filename instead.
-o: Overwrite files, if relevant.
-P password: Supplies a password to unzip a protected archive file.
-q: Unzips without writing status messages to the standard output.
-t: Tests whether an archive file is valid.
-v: Displays detailed (verbose) information about the archive without extracting it.
-x filename: Extract the archive but do not extract the specified files.
Example 4: how to un zip a file in linux command line
unzip -q file.zip -d directory_path
Example 5: unzip folder using linx command
$ unzip tecmint_files.zip