Original computing articles by a systems administrator

Category Archives: Command Line

My Not-So-Shabby Screen and Gnome-Terminal Setup

Introduction For a system administrator it is important to have an efficient and comfortable interface to all your servers. GNU Screen is an excellent utility to be able to have a single terminal connected to multiple servers that won’t disappear when you close the window. I have a set up that allows me to spawn… Continue Reading

Bash: Getting Command Line Columns to Line up

Update: David Harding pointed out in his comment to this post that the column utility does exactly this. Therefore, the following is really just an academic exercise. In my last post I showed how to get columns outputted in the command line to line up using python. In this post I am going to show… Continue Reading

Getting Command Line Columns to Line up with Python

I created a solution for a program I am writing that makes columns line up when outputted to the command line. I am new to Python, and am hoping I might get some input on this topic. In the text file that the program reads, the fields (columns) are delimited by ‘$’ and the records… Continue Reading

A Typical Task in Linux System Administration, Part 1

System administration is often about seemingly mundane tasks, but each task can provide an interesting puzzle to solve and there are many ways to solve it. I want to share a typical task in depth. I don’t intend to present every step of the task, but I will examine some of the steps in detail…. Continue Reading

Quick Tip: Thunderbird Email from the Command Line

Basics Thunderbird messages can be composed from the command line, and the syntax is pretty basic (field=’value’). For Example: admin@box:$ thunderbird –compose “to=’foo@bar.com,bar@foo.com’,subject=’nice tip’,attachment=’file:///home/admin/tip.txt’,body=’Check out this neat command line tip’” Caveats: Values don’t have to be in single quotes. However, if you have multiple values or characters that might be interpreted by Thunderbird, as actually… Continue Reading