1
mkdir -p {input,sorted,archives}

Bash On Sorting and archiving 1600 ...

by Fu86, June 21, 2010 10:36

You dont need the if tests ...

Ee0505bbd355292778077fb662c88f13 Talk
1
2
3
4
#!/bin/bash
SRC="/export/shared /export/beancounters/"
DEST_BASE="/export/trash"
...

Bash On Temp folder cleanup

by ghostdog74.livejournal.com, January 08, 2010 13:15

Since you are using bash, w...

Avatar Talk
1
Hi! msqyozfX

Bash On Adding speed to script

by ZAoDDJ, November 19, 2009 20:25

Hi! msqyozfX

3f8d04098329e80d0ee6f66c079fe242 Talk
1
Hi! lLwCLatd

Bash On Adding speed to script

by qjDzgwo, November 19, 2009 19:58

Hi! lLwCLatd

5911f686141a66a5a78a61af1023592e Talk
1
Hi! YgrIdvvn

Bash On Adding speed to script

by nneRqnwo, November 18, 2009 22:40

Hi! YgrIdvvn

28ede26cd056f7280f5b7d89e082bef7 Talk
1
Hi! isSrsL

Bash On Adding speed to script

by XkmiybOD, November 18, 2009 22:18

Hi! isSrsL

39176f01f3e0818d367fdb1a82654d1f Talk

Bash On Big and Ugly Associative Ar...

by Matt, November 14, 2009 18:34

Yep... :)
looking at it aga...

37cebc7c6f4cee5d5bc34277e691e7ba Talk

Bash On Big and Ugly Associative Ar...

by netzdamon.myopenid.com, November 14, 2009 15:24

Thanks a lot, 100x simpler ...

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

PKG_MANAGER="paludis"
...

Bash On Big and Ugly Associative Ar...

by Matt, November 14, 2009 10:43 Star_fullStar_fullStar_fullStar_full

Looks like you only need on...

37cebc7c6f4cee5d5bc34277e691e7ba Talk
1
2
3
4
function egrep {
        echo "command used:"
        echo "egrep" $@
...

Bash On How to quiclky change this ...

by Pascal Charest, September 09, 2009 19:31

Here, add this function to ...

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

...

Bash On How to quiclky change this ...

by GeekBoi, July 29, 2009 19:20

Not sure that it saves you ...

9992e9f44a75ef4248d687fd18745881 Talk

Bash On Adding speed to script

by draconesca, July 24, 2009 01:49

home intergovernmental syst...

89289f519e06a0e53e080eab7aecc771 Talk
1
2
mysqldump --opt --compress -u username -h host -ppassword database | gzip -c > database_dump.sql.gz
...

Bash On Unzip large database dump d...

by Ross Kendall, June 14, 2009 15:29

If the database is not on t...

8bfe810a30e352e3632733dd839c1220 Talk
1
2
3
4
#
# queryDetails.sh
#
...

Bash On Adding speed to script

by Ants, June 07, 2009 04:18

Instead of waiting sequenti...

F9a9ba6663645458aa8630157ed5e71e Talk

Bash On Adding speed to script

by Zmyrgel, June 04, 2009 08:23

I'd say most of the time is...

Avatar Talk

Bash On Adding speed to script

by Ants, June 03, 2009 22:17

Sorry, my mistake. Dealing ...

F9a9ba6663645458aa8630157ed5e71e Talk
1
2
3
TEMP=`mktemp`
`awk '/tmp/ { print }' <<< "$TEMP"`
`awk '/tmp/ { print }' <<< "$TEMP"`

Bash On Adding speed to script

by Zmyrgel, June 03, 2009 09:58

Umm, in which part it gets ...

Avatar Talk

Bash On Adding speed to script

by Ants, June 03, 2009 09:10

On a quick scan it looks li...

F9a9ba6663645458aa8630157ed5e71e Talk

Bash On sort | uniq alternative

by ck01.myopenid.com, February 14, 2009 16:45

Thanks.. I will research th...

44a9deddb14d75c29377773934d8315e Talk
1
alias uniqq='awk '\''!x[$0]++'\'''

Bash On sort | uniq alternative

by mightybs, February 13, 2009 13:35

In bash sometimes the quoti...

217f87ea53780a9fd3fa2b1c7b1a98ca Talk
1
ssh -C user@host 'mysql -u username -h host -p password database' < database_dump.sql

Bash On Unzip large database dump d...

by Adam, February 12, 2009 21:12 Star_fullStar_fullStar_fullStar_full

I suppose you could take ad...

A8d3f35baafdaea851914b17dae9e1fc Talk
1
zcat database_dump.sql.gz | mysql -u username -h host -p password database

Bash On Unzip large database dump d...

by Fabien Jakimowicz, February 12, 2009 12:36

Not really better, but you ...

Be1e3ee645d23c95ba650c21bc885927 Talk

Bash On Unzip large database dump d...

by Eineki, February 11, 2009 09:03

To me this solution is quit...

5a00a3a98dcf6f9cd717440fd2b606e5 Talk
1
2
3
4
One try was this:

h0mer:~# alias uniqq='awk \'!x[$0]++\''
...

Bash On sort | uniq alternative

by ck01.myopenid.com, February 08, 2009 11:25

I was wondering if this cou...

44a9deddb14d75c29377773934d8315e Talk

Bash On sort | uniq alternative

by ck01.myopenid.com, February 08, 2009 11:02

Thanks alot Eineki. Thats i...

44a9deddb14d75c29377773934d8315e Talk