Skip to content

Category Archives: Shell

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 [...]

How To Add Programs To Your Startup In KDE

I discovered the best way for me to mount my ssh shares via sshfs automatically when I log in. I add shares and folders from time to time, and I also wanted this technology to automatically be backed up for me, so I wanted the solution to lie inside my home folder. I did some [...]

Problems with kdesu via SSH after Hardy Heron Upgrade

I started encountering an error when using kdesu via SSH after Hardy Heron was installed. I’ve since upgraded to 8.04.1 as well and still am running into this bug.
X11 connection rejected because of wrong authentication.
kate: cannot connect to X server localhost:10.0

I know I’m not the only Kubuntu user, and there is proof I am not [...]

SSH Denied Even Though The Keys Are Authorized

I recently had to reinstall one of my servers. It was a pain. I didn’t have the partitions correct, so I lost my web install, and I hate how Ubuntu does not let us put /etc on a separate partition because of init. I struggled for a while with being forced to enter a password [...]

Webmin is my new favorite admin ninja tool

I have been struggling for some time with finding a way of properly managing my network, from a easy to use, fast interface. I’m pretty much set in stone that a web solution was what I was looking for. I found it in a tool called Webmin. You can download it from http://www.webmin.com. It’s built [...]

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 [...]