Create a tar file of files located in a folder:
tar -cvf filname.tar foldername/
where:
c = create
v = verbose
f = file
filname.tar = the created file
———-
To show the content of a tar’ed file:
tar -tvf filname.tar
———-
extract a file with tar:
tar -xvf filname.tar
where
x = extract
v = verbose
f = file