Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0
2246
posted 16 years ago by webonomic
This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.
0
2284
posted 16 years ago by webonomic
Bash
Print the number of established and listening connections to your server on port 80 per each IP address
1
4306
posted 16 years ago by tobewan
Change 'username' (twice!) with your imap username,'password'with your imap password, and 'example.com' (twice!) with the url of your imap mailserver.
Works on: Ubuntu with Evolution, sqlite3 and archivemail installed.
Evolution is required beca...
1
2560
posted 16 years ago by berkes
Source: Linux Journal
This command downloads the Web site www.website.org/tutorials/html/.
The options are:
* --recursive: download the entire Web site.
* --domains website.org: don't follow links outside website.org....
1
6047
posted 16 years ago by abhiomkar
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1
1655
posted 16 years ago by nate63179
This was a comment posted by [this person] (http://bit.ly/1o9aIJ) to an article posted [here] (http://bit.ly/7BtLT)
0
1612
posted 16 years ago by czapata
OSX 10.6 adds exchange support , but breaks if you use jewish calendar , this will fix it.
0
1666
posted 16 years ago by yisreldov
This script creates thumbnail images containing 25 thumbs each and display the EXIF time and date if your version of ImageMagick supports that (some do not).
0
1721
posted 16 years ago by deepsoul
Useful if some files already exist at the destination and are newer or would take too long to copy again.
0
1571
posted 16 years ago by deepsoul
run the command in a terminal window
restart the computer (... I didn't find another way so that the command take effect)
0
1914
posted 16 years ago by yakafokon
export bookmarks.html file, extract links from that file to a list , using the list as INPUT to linkchecker that reports dead links
0
1812
posted 16 years ago by rowntreerob
When you put an image in a printable document, you don't want it to have black (or coloured) background. ImageMagick allows to replace colours even when the coloured regions are non-contiguous. Arbitrary colour values can be specified with `\#12345...
0
1658
posted 16 years ago by deepsoul
Find the most recently modified file in a directory tree and output its name and modification time. Use index 8 or 10 instead of 9 for access and inode modification time, respectively (see perlfunc manual page - function stat).
This is great for...
0
1858
posted 16 years ago by deepsoul