Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Misc. terminal command reference (See related posts)


# Creating symlink
ln -s   [destination file/dir]    [link name]

# Import svn 
svn import -m "initial import" . http://svn.cdnm.com/repo

# Untar all .tar files in current directory:
for i in *.tar; do tar -xvzf $i; done

# Creating an archive
$ tar cjf outputfile.tar.bz2 inputs
Extract said archive to the current directory. For a compressed archive, you’ll again need to add the z for a .tar.gz, or j for .tar.bz2.
$ tar xf inputfile.tar
$ tar xjf inputfile.tar.bz2


You need to create an account or log in to post comments to this site.