Create linux tar gz (Gzip) archive tar -czvf archive.tgz directory/ -t to option to create an linux tar archive -c to create a new archive .tgz is same as .tar.gz For tar archive withouth compresion tar -cvf archive.tar directory/ Extract linux tar gz (Gzip) archive tar -xzvf archive.tgz Extract linux simple tar archive tar -xvf [...]
Archive for the ‘Unix’ Category
Linux TAR Command
Posted in Unix on September 22, 2011 | Leave a Comment »
Removing all .svn folders in Linux
Posted in Unix, tagged lessons, Linux, tips on August 25, 2009 | Leave a Comment »
To delete all .svn folders in Linux; Move to your current/working directory (i.e) your project folder (ex: /usr/local/myproject/test). This will delete all the .svn folders under this directory. Execute the following command; find ./ -name “.svn” | xargs rm -Rf Done.
Basic Unix commands
Posted in Unix on July 9, 2007 | Leave a Comment »
passwd – To change your password exit – exits the Unix session. You can also use logout. ls – To list files in a directory. cd – To navigate the file tree, or to change your directory. Type cd home to go to the directory home. cp – To copy files. Type cp [filename] [path] [...]