Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tar extract to folder

# compress
tar czvf < archive_name >.tar.gz < path >
# extract
tar xzvf < archive_name >.tar.gz
tar xzvf < archive_name >.tar.gz  -C /home/usera/tmp
Comment

tar extract to specific location

tar xvf my.tar.gz -C /home/my/location/
Comment

PREVIOUS NEXT
Code Example
Shell :: what is pipe line command in linux? 
Shell :: how to list brew packages installed 
Shell :: ubuntu add public key to server 
Shell :: install react hot loader 
Shell :: gcloud check region 
Shell :: linux generate file of size 
Shell :: npm list versions of installed packages 
Shell :: Grab IP address only (Linux) 
Shell :: install postman desktop ubuntu 
Shell :: unzip command ubuntu 
Shell :: cuda driver install in ubuntu 
Shell :: how to stop a program from running linux 
Shell :: how to revert a merge locally 
Shell :: brew install xcode 
Shell :: how to run bash scripts 
Shell :: how to install apache2 on ubuntu 20.04 
Shell :: git exclude some files from git commit 
Shell :: how to enable camera in ubuntu 
Shell :: git command line discard changes 
Shell :: clone specific branch git 
Shell :: how to push local code to gitlab 
Shell :: linux convert png favicon 
Shell :: bash variable lowercase 
Shell :: ssh command delete file 
Shell :: unable to find docker images locally 
Shell :: unix history date time 
Shell :: docker compose latest version install ubuntu 
Shell :: git deinit repo 
Shell :: shell one line for loop 
Shell :: elasticsearch get indices regex 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =