Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 30 31 32 33 34 ... 41
0 987 posted 16 years ago by rowntreerob
To connect to your database remotely, tunnel in via SSH. This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running...
3 1204 posted 16 years ago by zachwood
Alle Verzeichnisse überprüfen: [script name] verzeichnis1 verzeichnis2 Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
0 886 posted 16 years ago by endorfin
To see how we can set default values for bash script variables inside bash script
0 1240 posted 16 years ago by jaduks
To find the latest file in a particular dir
1 1232 posted 16 years ago by jaduks
Simply paste the list of URLs into stdin. You can add the option `-P 4` to parallelize the downloads.
1 1104 posted 16 years ago by xenonite
1 894 posted 16 years ago by burnsra
Sum of digits using bash and sed
0 1150 posted 16 years ago by jaduks
Reads a linux file, line by line
2 1159 posted 16 years ago by sanjivarunsahayamhotmailcom
Another way of writing a continuous bash menu.
7 1278 posted 16 years ago by jaduks
0 952 posted 16 years ago by otaqui
Replace all the occurrences of a string with a replacement in the supplied files.
2 1304 posted 16 years ago by sanjivarunsahayamhotmailcom
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 1160 posted 16 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 956 posted 16 years ago by narkisr
1 1127 posted 16 years ago by aemkei
If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code. This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.
5 1672 posted 16 years ago by webonomic
You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)
1 1835 posted 16 years ago by webonomic
I did not write the script, a friend did.
0 1228 posted 16 years ago by garretjames
Use this command to prevent seeing ....68 more type stack trace message in Grails output.
0 913 posted 16 years ago by kouphax
The <code>clean</code> script shipped with the Magento downloader actually deletes too much. It's safe to run this command after updating to keep the installation "small".
0 810 posted 16 years ago by hlubek
0 1157 posted 16 years ago by therobot
get a list of all the video files played in all the vortexes
0 1199 posted 16 years ago by rowntreerob
1 ... 30 31 32 33 34 ... 41