1
2
3
#!/bin/bash

...

Bash Sorting and archiving 1600 ...

by deepspring.myopenid.com, May 28, 2010 13:13, 1 refactoring, tagged with sort, archive, photos

Hi Guys,

The Website I'm...

56438d61fd1c1b7d352a12c9b402f4a9 Talk
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...

by sergio, April 05, 2010 15:48, No refactoring, tagged with bash

# improve your netword card...

A5f3d249cc5053cdc1eb4ede60fd2f45 Talk
1
2
3
4
#1/bin/bash

PKG_MANAGER="paludis"
...

Bash Big and Ugly Associative Ar...

by gregf, November 14, 2009 03:43, 3 refactorings, tagged with bash, array hash

Working on a script, took o...

70b86492b31e21b0748cc637a6b2f05a Talk
1
2
3
4
#!/bin/bash

SRC="/export/shared /export/beancounters/"
...

Bash Temp folder cleanup

by agnul, November 11, 2009 15:46, 1 refactoring, tagged with bash

I'm planning to run this sn...

Ee62f45441fbf8409dfd4adaa40a74aa Talk
1
2
3
4
#This is the error command
egrep "smtp" -i ./production.log

...

Bash How to quiclky change this ...

by carlpelletier.myopenid.com, July 27, 2009 17:45, 2 refactorings, tagged with bash

I looking for a quick easy ...

321d08dbad2770da0994b5f53bc8757a Talk
1
2
3
4
#!/bin/bash

# Global variables
...

Bash Adding speed to script

by Zmyrgel, June 03, 2009 07:14, -37 refactorings, tagged with speed, awk, shell

I'm trying to collect custo...

Avatar Talk
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...

Afdb6aa91430febdaea8020479bb4208 Talk
1
2
3
4
#!/bin/bash
# filename: uniqq

...

Bash sort | uniq alternative

by ck01.myopenid.com, February 07, 2009 18:35, 6 refactorings, tagged with sort uniq awk while

I got a text file (about 20...

44a9deddb14d75c29377773934d8315e Talk
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...

5a00a3a98dcf6f9cd717440fd2b606e5 Talk
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

by gmarik.blogspot.com, November 01, 2008 12:37, 2 refactorings, tagged with bash, groupping

I was processing logs like ...

Avatar Talk
1
2
3
#!/bin/sh

...

Bash Memory usage script

by JonM1827, July 30, 2008 20:51, 2 refactorings, tagged with memory, shell, perl, awk

So I use thin to serve my r...

Fcd45b7de93cc8fa417fa43426973e06 Talk
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 ...

3bcace48cdfd67d37cc5516b86efdc0a Talk
1
ps ax | grep "nginx: master" | xargs -I % ruby -e 'exec "sudo kill #{"%".split(/\s/).first}"'

Bash kill nginx master proces

by we4tech, June 27, 2008 16:32, 9 refactorings, tagged with kill nginx master process

hi,
i am not expert on lin...

4bb774de244da2d6e7f39a189b905077 Talk
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...

Avatar Talk
1
2
3
4
SCRIPT="gen_${1}.sql"
echo "--gen_${1}.sql" > $SCRIPT
typeset -i counter
...

Bash Slow bash for loop.

by furtive, February 07, 2008 19:57, 6 refactorings, tagged with bash, speed, loop

Here's a quick and dirty ba...

Avatar Talk
1
2
3
4
#!/bin/bash
# Host checker 0.6
# original idea by no0tic
...

Bash Host checker

by motoplux, November 24, 2007 12:18, 1 refactoring, tagged with Host, checker, ping

A simple bash script that s...

075c21d01eed610dc6f6c27a0bf50091 Talk
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...

Bfec5f7d1a4aaafc5a2451be8c42d26a Talk