Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged linux
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files.
* KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this t...
0
583
posted 14 years ago by berkes
This command will count the number of files in the given directory and sub-directories.
0
895
posted 14 years ago by gdvickery
Setup default ignores, aliases, colors, completion and bash prompt in Git
These are to be run from Terminal.
1
602
posted 14 years ago by alvarezrilla
r : recursive
v: verbose
--progress : shows progress with percentage
0
590
posted 14 years ago by godstroke
When using `ln` to create a link in a different directory, the semantics of creating hard and symbolic links differ. That is because a hard link contains a direct reference to its target's data, while a symbolic link is just a string containing a (p...
1
633
posted 14 years ago by deepsoul
You must have already setup your /etc/init.d/some_binary file and it should have the chkconfig line in it that specifies the on/off run levels and start/stop priorities.
0
668
posted 14 years ago by jturmel
Assuming you have a set of svn project folders inside a parent (only folders in parent) you can do a simple backtick `ls` to get the folder names for svn...
0
654
posted 14 years ago by jasonm23
Ideal if you have a laptop. If someone steals it, he will not be able to read all your mails and documents with precious information (about passwords, accounts, credit cards, private stuffs, etc...).
This snippet is considering that you are using...
0
461
posted 14 years ago by Dorgendubal