Archive for the ‘Bash’ Category.
September 6, 2010, 11:16 pm
mailit function
Here is a generic mail function I use with cron jobs or scripts that need to email information.
TIP: the context-type can be switched to sent html instead of plain text as well ;)
mailit ()
{
cat <<EOF | /usr/sbin/sendmail -f noreply -t
to:${sendto}
from:${from}
reply-to:${replyto}
subject: ${subject}
content-type: text/plain
${emailthis}
EOF
}
To use, set the variables first, then call the function ;) IE:
sento="someone@someemail.com"
from="sentfrom@someemail.com"
replyto="sentfrom@someemail.com"
subject="This is the email subject"
emailthis=`cat <<EOF
This is is the text
that is sent
in the body of the email.
Thanks,
Crouse
EOF`
mailit
July 5, 2009, 10:14 am
This is a picture of my desk a couple years ago, it now has 2 22″ widescreen monitors, and nothing but ARCH ! :D
Basically it still look the same, except the four monitors have been replaced by two. I have 4 computers, one monitor for two computers.
I use two kvi switches to make that possible. All the computers are the same, IBM intellistations. 3.6 ghz machines with xeon processors, all running 64bit Arch Linux.
I’ll try to take some updated pics of the desk, perhaps once i clean it up again lol.

Category:
Bash |
Comments Off
June 21, 2009, 2:49 am
Finally, the site is on the new server, which hopefully will be rock solid for ever :)
Anyway, I finally opened up the blogs for new users, you know where to go to sign up……… get going ! :)
June 17, 2009, 12:17 am
meh, this is going slowly.
First we had the delay of getting a server built. Then once it was built we had a massive segfault, that wasn’t recoverable (no, it wasn’t my fault :P ). Next we reloaded the OS from scratch and started over. Eh…….. waddaya know, another segfault/crash. New server time. I have stressed tested the cpu and ran a bad blocks test on the hard drive, checked the ram configuration, i think we are golden now.
Continue reading ‘New server – an update.’ »
Category:
Bash |
Comments Off
June 7, 2009, 4:06 pm
Ok, it’s not anything really special, but I should be able to enable alot more blogs and to enable email and have a more consistent connection.
| Server Series: |
Celeron BasicLE |
| Processor: |
Intel Celeron 1.7Ghz |
| First RAM: |
1GB RAM |
| Secondary RAM: |
1GB RAM |
| Hard Drive: |
160GB SATA Hard Drive |
| Bandwidth Plan: |
750GB Monthly Data Transfer |
| IP Addresses: |
1 IP Address |
| Operating System: |
Arch Linux |
I’ll keep ya posted :)
Category:
Bash |
Comments Off
June 3, 2009, 10:29 pm
I have had over a decade of experience with a multitude of distros.
One of the members of one of my forums literally begged me for a year to try Arch. Finally I relented and installed it.
It was like having an epiphany ! OMG – This is AWESOME ! PERFECT ! I HAVE BEEN LOOKING FOR THIS FOR YEARS !
I guess the prior years of experience let me know right away that Arch Linux was the distro I had been looking for. There was this almost instantaneous recognition of the simple elegance of a system you could control completely, the speed, configuration, ease of keeping things updated that made me so happy it was hard to contain myself.
Continue reading ‘Would I recommend Arch to someone new to Linux ?’ »
May 20, 2009, 3:25 pm
I wrote this script because I’m on so many different Arch machines, sometimes it’s hard to keep track :) Plus, it gives me a handy way to find all of my information I’m looking for with one simple command. It outputs something like this:
Continue reading ‘Arch Linux Info Script’ »