Welcome To Snipplr
Everyone's Recent Snippets Tagged linux
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere.
Tags: Bash, Linux, Groovy
0
1751
posted 17 years ago by mahome
Bourne Shell Script (created on a FreeBSD_7.1-RELEASE system :-)
0
1460
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
1742
posted 17 years ago by webonomic
A simple method of clearing the data of a hard drive (writing zeros all over it).
2
1837
posted 17 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0
1346
posted 17 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
1777
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
1827
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
2474
posted 17 years ago by rwczippy
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
1429
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
2111
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
1309
posted 17 years ago by Sn0opy
Example code would remove all files/folders recursively starting from the current folder named file_name
0
1690
posted 17 years ago by jturmel
Run this command to add an /etc/init.d/ startup script to start at os bootup.
0
1629
posted 18 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
2527
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
1619
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
1536
posted 18 years ago by cczona