Skip to content

Category Archives: bash

My current screenrc file

Since it was requested, below are the contents of my current .screenrc file for use with GNU screen. It’s got a hardstatus and a caption. I like it simple, but high contrast so that I don’t have to squint to see what it says, hence the bright colors. Feel free to customize and provide some [...]

Quick alias to update your packages via aptitude

I use the command line more than anything, and I try to stay up to date regularly, so I added an alias for the command I use for updates.
alias apt-up=’sudo aptitude -y update && sudo aptitude -y full-upgrade ‘

My Useful In Folder Script

Having been a long time user of 4DOS in my pre-win95 days, I had developed some batch files and/or aliases that I were quite handy in that environment. Switching to another operating system that’s more flexible with the command line, I’ve re-implemented some of those batch files and aliases. Here’s one of my favorites, and [...]

Kubuntu Software Review – Konversation

My first install of Ubuntu was Dapper Drake, and it was the original flavor, with the Gnome desktop. It included XChat, which seemed an easy transition from mIRC. Since I’d previously managed IRC connections using telnet, it wasn’t daunting. However, after switching to Kubuntu, I found myself presented with Konversation. It might have been my [...]

Set the Nice Level of an Existing Process

Occasionally I forget to use the nicecommand. Linux is kind enough to allow us to change the nice level of a process that’s already running, by using the snice command. It’s very easy to use and much quicker than stopping and restarting the process.
Let’s say I have mpeg2enc encoding a video, and after 10 minutes, [...]

Stacking Commands on the Shell

Exploiting the shell’s capabilities can be fun and very helpful. Using the shell, I’ll often want to chain commands together. While you may already be familiar with using the semicolon to call commands in the order they were typed on the command line, the shell provides two “constructs” that permit some related, yet very specific [...]

Making the Shell Play “nice”

Being a big fan of the shell, I make it work hard for me. Often times the commands I’ll issue through the shell are greedy and eat CPU cycles like candy. Sometimes those commands might take several minutes to complete, and I want my CPU’s priority to be focused on other things (like letting me [...]

bash Wednesday – alias

One of the best tips I can give on using the command line to your advantage is to grab a hold of the “alias” command. You’re going to be typing a lot of commands, and with Ubuntu, through the bash shell’s glorious “alias” command, they’ll be fewer and shorter.
The alias command allows a shell user [...]

The Command Line – Your Computing Co-Pilot

If you’ve only used Windows, it’s possible you may have neglected one of it’s best hidden gems, the Windows Command Line. While it was very powerful and had many features, it wasn’t quite what Linux and Unix users had been reaping the benefits of for years. It extended upon the original DOS command set, which [...]