Welcome To Snipplr


Everyone's Recent Snippets Tagged linux



1 ... 4 5 6 7 8
0 472 posted 15 years ago by hlubek
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere. Tags: Bash, Linux, Groovy
0 696 posted 15 years ago by mahome
Bourne Shell Script (created on a FreeBSD_7.1-RELEASE system :-)
0 611 posted 15 years ago by hackware
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 682 posted 15 years ago by webonomic
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 651 posted 15 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 498 posted 15 years ago by narkisr
1 684 posted 15 years ago by Zver
Searches for some text in a list of files. Displays the results with the filename where the snippet was found.
1 788 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 674 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 882 posted 15 years ago by rwczippy
Example: ln -s /usr/local/apache/logs ./logs
3 1010 posted 15 years ago by jonhenshaw
0 414 posted 15 years ago by pmaciver
1 427 posted 15 years ago by edwinjanmoss
0 425 posted 15 years ago by rubinsta
0 490 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 488 posted 15 years ago by iTony
The “2>&1″ bit tells to pipe the standard error to the standard output. Otherwise the standard error may not be outputted by the system and you won’t have a way to troubleshoot your script.
2 773 posted 15 years ago by jdstraughan
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 483 posted 15 years ago by Sn0opy
Example code would remove all files/folders recursively starting from the current folder named file_name
0 647 posted 15 years ago by jturmel
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0 612 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 1305 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 532 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 576 posted 16 years ago by cczona
1 ... 4 5 6 7 8