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

Shell Scripting: Part 2

June 2, 2007 · Filed Under Programming, Servers, Uncategorized · Comment 

Today brought more advanced shell scripting as I wrangled with administering users on the new site. This brought me in contact with learning Sed and Awk, as well as some more complicated bash tutorials.

So far I’m finding shell scripting an easy, yet powerful, mechanism for automating web site administration. I’m currently writing a mini-tutorial on what I’m setting up, in case anyone else is interested in creating a development system for web design on their own server.

Sed and Awk Micro-Primer - http://www.faqs.org/docs/abs/HTML/sedawk.html

Advanced Bash-Scripting Guide - http://tldp.org/LDP/abs/html/

*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.

Spice Up Your Shell Prompt

May 22, 2007 · Filed Under Programming, Servers · Comment 

Ever log into a box, or install a new distro, only to find that the prompt is either just a # or it only provides very minimalistic information? Well, it’s easy to change the look of the command prompt by editing the ~/.profile or other appropriate file.

Read more