Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



0 810 posted 16 years ago by hlubek
Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too). Take the below 2 scripts to make 2 separate files. Use gconf-editor to attach keybindings to run_command_1 and run...
0 1089 posted 16 years ago by webonomic
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 1057 posted 16 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 883 posted 16 years ago by narkisr
Searches for some text in a list of files. Displays the results with the filename where the snippet was found.
1 1195 posted 16 years ago by sanjivarunsahayamhotmailcom
Query a nameserver to easily find out all there is to know about a domain name; Nameservers, MX-servers, cnames, subdomains etc.
1 1033 posted 16 years ago by torkil
This will start at the specified URL and recursively download pages up to 3 links away from the original page, but only pages which are in the directory of the URL you specified (emacstips/) or one of its subdirectories. wget will also rewrite the...
10 1371 posted 16 years ago by rwczippy
Example: ln -s /usr/local/apache/logs ./logs
3 1532 posted 16 years ago by jonhenshaw
0 767 posted 16 years ago by rubinsta
0 855 posted 16 years ago by pmaciver
To remove the annoying beeping of linux (so far tested in ubuntu and slackware) the module pcspkr needs to be removed. this code would help to remove it.
0 874 posted 16 years ago by iTony
Cowthink is an ASCII script for Linux to show text in a bubble over a cows head Picture: http://tinyurl.com/5mupb7 Download: http://www.nog.net/~tony/warez/cowsay.shtml
1 828 posted 17 years ago by Sn0opy
Example code would remove all files/folders recursively starting from the current folder named file_name
0 1065 posted 17 years ago by jturmel
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0 1020 posted 17 years ago by funkmyer
This is meant to be run as root, so do it at your own risk. It's very raw and needs error checking, but works. I run this script to get new django sites off the ground in a few minutes.
0 1800 posted 17 years ago by mandric
(EDITED: Originally I had this snip using 'cat /proc/version'. But have since replaced it with a more reliable -- and specific -- method) If you need still more info (or are on a BSD), see 'uname', 'dpkg-architecture'
1 991 posted 17 years ago by cczona
If Ubuntu Server fails to resolve hostnames or find a network connection via Parallels 3 bridged networking, it may be attempting to use the wrong network interface.
0 995 posted 17 years ago by cczona
Il suffit de créer une page PHP et y placer un phpinfo() ou si vous avez accès au serveur en ligne de commande (Putty, WinSCP, ...), vous pouvez tapez cette commande. Dans l'exemple, nous souhaitons savoir si l'extension openssl est présente et no...
0 1039 posted 17 years ago by cyo
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 1908 posted 17 years ago by jonhenshaw
From http://www.novell.com/coolsolutions/feature/11251.html
1 1046 posted 17 years ago by micmath
Change / to the root directory you wish to search in. Change -7 to +7 for files changed more than a week ago.
1 1522 posted 18 years ago by micmath