Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to unzip Tar file

## Untar files in Current Directory ##
tar -xvf filename.tar.gz

## Untar files in specified Directory ##
tar -xvf filename.tar.gz -C /path_name_for_unzip/

-x : extract
-C : specified directory
-v : Verbosely show the .tar file progress.
-f : filename of archive file
Comment

how to zip and unzip tar

Compress:
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

Uncompress:
tar -xzvf archive.tar.gz

Legend:

-c: Create an archive.
-z: Compress the archive with gzip.
-v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful.
-f: Allows you to specify the filename of the archive.
-x: extract
Comment

PREVIOUS NEXT
Code Example
Shell :: kubectl to show label of pod 
Shell :: zsh: command not found: brew 
Shell :: grep before and after 
Shell :: linux groups show name, password, id, members list 
Shell :: macbook how to reset launchpad 
Shell :: restart wpa raspberrypi 
Shell :: pretty git log 
Shell :: git push tags 
Shell :: How to use .AppImage on Manjaro 
Shell :: ubuntu control brightness 
Shell :: remove blender ubuntu 20.04 
Shell :: linux install vi 
Shell :: git push force 
Shell :: search for word in text files ubuntu 
Shell :: clean ubuntu root 
Shell :: git cambiar pull https por ssh 
Shell :: Unable to connect to libvirt qemu:///system. 
Shell :: Failed to load module "appmenu-gtk-module" 
Shell :: powershell upgrade 
Shell :: git get current commit hash 
Shell :: ubuntu camera 
Shell :: how to see remote branch git 
Shell :: rancher docker reset password 
Shell :: pipenv an error psycopg2 
Shell :: ubuntu download yasm 
Shell :: install firebase in react 
Shell :: restart server centos 
Shell :: nuget install location 
Shell :: hardhat init 
Shell :: linux kill all python processes 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =