Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



0 469 posted 15 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 675 posted 15 years ago by webonomic
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 638 posted 15 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 492 posted 15 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 778 posted 15 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 670 posted 15 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 876 posted 15 years ago by rwczippy
Example: ln -s /usr/local/apache/logs ./logs
3 1005 posted 15 years ago by jonhenshaw
0 420 posted 15 years ago by rubinsta
0 484 posted 15 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 485 posted 15 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 480 posted 15 years ago by Sn0opy
Example code would remove all files/folders recursively starting from the current folder named file_name
0 638 posted 15 years ago by jturmel
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0 608 posted 15 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 1302 posted 16 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 528 posted 16 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 566 posted 16 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 632 posted 16 years ago by cyo
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 1318 posted 16 years ago by jonhenshaw
From http://www.novell.com/coolsolutions/feature/11251.html
1 615 posted 16 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 967 posted 17 years ago by micmath