1 2 3 4
#!/bin/sh # permanent settings for network interface # http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html ...
Bash Linux add ethtool duplex se...
# improve your netword card...
1 2 3 4
#1/bin/bash PKG_MANAGER="paludis" ...
Bash Big and Ugly Associative Ar...
Working on a script, took o...
1 2 3 4
#!/bin/bash SRC="/export/shared /export/beancounters/" ...
Bash Temp folder cleanup
I'm planning to run this sn...
1 2 3 4
#This is the error command egrep "smtp" -i ./production.log ...
Bash How to quiclky change this ...
I looking for a quick easy ...
1 2 3 4
#!/bin/bash # Global variables ...
Bash Adding speed to script
I'm trying to collect custo...
1
gunzip -c database_dump.sql.gz | mysql -u username -h host -ppassword database
Bash Unzip large database dump d...
by bedlam.myopenid.com,
February 11, 2009 00:43,
4 refactorings, tagged with mysql dump restore gunzip
Just wondering if this is t...
1 2 3 4
#!/bin/bash # filename: uniqq ...
Bash sort | uniq alternative
I got a text file (about 20...
1 2 3
#!/bin/bash echo -e "\n I wish you a merry Christmas and an happy new year! \n" exit(0);
Bash Multi language refactor
by Eineki,
December 25, 2008 08:59,
6 refactorings
Can you rewrite this onelin...
1
for id in `cat ids|sort -rn|uniq`; do echo `grep -w $id ids|wc -l` :$id; done|sort -nr
Bash Groupping with stats
I was processing logs like ...
1 2 3 4
#!/bin/bash currentTime=$(date -u '+%s') statement= ...
Bash store string from terminal ...
by bporterfield,
July 08, 2008 05:49,
2 refactorings
I wanted to store things I ...
1
ps ax | grep "nginx: master" | xargs -I % ruby -e 'exec "sudo kill #{"%".split(/\s/).first}"'
Bash kill nginx master proces
hi,
i am not expert on lin...
1 2 3 4
#!/bin/bash for ((i=0;i<=17;i+=1)) do ...
Bash For Loop using Awk
by roxannspencerolsen.blogspot.com,
May 08, 2008 20:38,
1 refactoring
I an working on a script th...
1 2 3 4
SCRIPT="gen_${1}.sql" echo "--gen_${1}.sql" > $SCRIPT typeset -i counter ...
Bash Slow bash for loop.
Here's a quick and dirty ba...
1 2 3 4
#!/bin/bash # Host checker 0.6 # original idea by no0tic ...
Bash Host checker
A simple bash script that s...
1 2 3 4
tab() # new tab from current dir { osascript -e " ...
Bash Open a new tab in current d...
by macournoyer,
October 04, 2007 18:07,
2 refactorings
Here's a small script I wro...
Hi Guys,
The Website I'm...