Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Using a sorted list remove all the lines in file2 from file1
0
1416
posted 16 years ago by benpjohnson
If this command seems to run forever, it's because there may be parts of the site that generate an infinite series of different URLs. You can solve this in many ways, the simplest being to use the -l option to specify how many links “away†from t...
1
1744
posted 16 years ago by alemani
Con este código: Creas un archivo txt donde se almacenaran los nombres de archivos encontrados (temporal.txt). En caso de existir la unidad J. la elimina sin pedir confirmación (/Y). Crea la conexión J: al servidor requerido, con usuario y passwor...
0
1868
posted 16 years ago by lsaez
grep through all history from within a Subversion working directory, like:
$ svngrep SecItemCopyMatching *
0
1863
posted 16 years ago by zingo
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
find . -type d -exec chmod 755 {} \;
Similarly, the following will chmod all files only (and ignore the directories):
find . -...
1
2014
posted 16 years ago by MikeyLikesIt
An easy was to tunnel remote Couchdb instance into a local machine using ssh tunneling, by using the 5893 local port we enable the local instance to run (replication is only a click away).
0
2213
posted 16 years ago by narkisr