Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

list file in tar archive

#List file in tar archive without extracting  (with various compression formats) 
tar -tvf archive.tar
tar -ztvf archive.tar.gz
tar -jtvf archive.tar.bz2
tar -Jtvf archive.tar.xz
Comment

tar archive all files in directory

cd ..
tar czf workspace.tar.gz workspace
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu ram type 
Shell :: bash get first n characters 
Shell :: npm install dev dependencies only 
Shell :: Ubuntu free ports in use 
Shell :: bash split string to array 
Shell :: microsoft-todo-unofficial ubuntu 
Shell :: error: cannot run ssh: No such file or directory 
Shell :: ubuntu install tar.xz 
Shell :: flutter devices 
Shell :: batch script delete files older than 30 days 
Shell :: find all files with 777 permissions 
Shell :: linux file path 
Shell :: substring in shell script 
Shell :: bash scripts options without arg 
Shell :: linux get user id 
Shell :: bash store file in array 
Shell :: find out a branch a parent branch git 
Shell :: kill a process at a port 
Shell :: npm sequelize 
Shell :: windows service start 
Shell :: how to kill local server in ubuntu by command 
Shell :: remove global packages npm 
Shell :: get full path of files in directory linux command 
Shell :: erlang clear shell 
Shell :: how to do install tmux plugins 
Shell :: apt install slack 
Shell :: how to install trello on linux 
Shell :: npm install package as developer dependency 
Shell :: ubuntu cmd time 
Shell :: ubuntu install yarn 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =