Reset a Lost root Password

February 28, 2008 · Filed Under Non-Programming, Operating Systems · 2 Comments 

What happens when that server that was always humming along nicely all of a sudden needs you to log in as root to check something or install something new. What was the root password? Didn’t it just get changed? All of a sudden, the cold sweat starts - the root password is unknown.
What do you do?

Reset it! Thankfully there are a few ways to do this.

Read more

Managing your bandwidth - iftop

February 6, 2008 · Filed Under Non-Programming, Software · 1 Comment 

Coming off a series of articles on installing and configuring IPCop (Part 1, Part 2, Part 3), my attention now turns to actually monitoring and managing the network. One of the issues that will come up is ‘Where did all my bandwidth go?’ IPCop, as well as other *nix distros, include a program called iftop, which displays the bandwidth being used on an interface. While on individual machines this can be useful, it really shines on a router or gateway machine.

Read more

screen - Making Terminals More Efficient

June 19, 2007 · Filed Under Non-Programming, Operating Systems · 1 Comment 

One of the best things about *nix-based systems is the rich command line interface that they all have. No matter what shell you actually use, the entire operating system is at your fingertips with a terminal. The only downside is that multiple windows must be open to do multiple things, right? Not with screen, a basic window manager for terminals. Open multiple sessions and even split-screen to make your life easier. Find out how after the jump.

Read more

*nix Shell Scripting Tutorial

May 31, 2007 · Filed Under Operating Systems, Programming · Comment 

I had to come up with a way to run a bunch of rsync commands, and the only shell scripts I’ve ever really made have been extremely simple (just for running wine commands mostly). Since I needed to make what amounted to a small program for OpenBSD, I headed to Google and found a great shell scripting site:

 http://www.freeos.com/guides/lsst/index.html

It looks like some other sites have this information as well, but this site was closest to the top without being bombarded with ads.

Music While You Work

May 25, 2007 · Filed Under Non-Programming · Comment 

One thing that really helps me code is music. Not that crap that they play on the radio at work or on 90% of the radio stations out there that I can’t pick up in the office because I don’t have an actual radio, but good music, like what’s on my iPod. What do I do when I’m at work and I want to listen to some music?

Read more

Next Page »