Welcome To Snipplr


Everyone's Recent Snippets Tagged linux



1 ... 4 5 6 7 8
0 1245 posted 16 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 1675 posted 17 years ago by mahome
Bourne Shell Script (created on a FreeBSD_7.1-RELEASE system :-)
0 1383 posted 17 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 1629 posted 17 years ago by webonomic
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 1727 posted 17 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 1283 posted 17 years ago by narkisr
1 1848 posted 17 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 1693 posted 17 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 1729 posted 17 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 2329 posted 17 years ago by rwczippy
Example: ln -s /usr/local/apache/logs ./logs
3 2488 posted 17 years ago by jonhenshaw
0 1161 posted 17 years ago by pmaciver
1 1219 posted 17 years ago by edwinjanmoss
0 1164 posted 17 years ago by rubinsta
0 1297 posted 17 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 1364 posted 17 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 1994 posted 17 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 1235 posted 17 years ago by Sn0opy
Example code would remove all files/folders recursively starting from the current folder named file_name
0 1612 posted 17 years ago by jturmel
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0 1517 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 2395 posted 18 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 1512 posted 18 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 1440 posted 18 years ago by cczona
1 ... 4 5 6 7 8