Christopher Craig

Entries for the ‘Linux’ Category

Change Permissions of Files Only

I recently had need to change the permissions of a large number of files and directories. The directories needed permissions of 755, and the files needed 644. Since there were several nested directories, this was going to be a real chore until I figured out you could use the find command to help.
find [...]

Leave a Comment

Join 2 AVI Files

Let’s say you have a movie that you downloaded, and it’s split into 2 AVI files. Wouldn’t it be nice to join these two files together into one seamless AVI file? It’s easy.
First, you need to download a copy of MPlayer from here. Then just execute this command from the command line:
/path/to/mencoder [...]

Leave a Comment

Delete a Symbolic Link to a Directory

Most people using Linux know how to create a symbolic link to a file or directory:
ln -s /path/to/original/file /path/to/sym/link
Removing a symbolic link to a file is pretty easy too:
rm /path/to/sym/link
But, this doesn’t work for symbolic links that point to a directory, as I just learned (something new every day). This is how you remove a [...]

Leave a Comment

Server Crash

Well, that was a fun day. I just finished spending hours rebuilding my server because of data corruption. I tried to ssh in yesterday and my root password kept getting rejected. I know I couldn’t have forgotten it because I use it several times each day. The possibility of getting hacked was [...]

Leave a Comment

I’m Such A Geek

I’m such a geek (hangs head in shame). I got excited when I found MidpSSH, a telnet/SSH client for mobile devices.
Now I have access to my servers via SSH from anywhere, as long as I can get a digital signal on my BlackBerry.
What will they think of next?

Leave a Comment

Scripting Frenzy

I spent about 4 hours last night finalizing my backup solution for my home network. That is, at least until I set up a raid 5 in the new year.
I already had my server backing up my music every night to a 40 gigger I had lying around, but I also wanted to backup [...]

Comments (1)

Linux Voodoo

A while ago, I installed Fedora Core 5 on my server. The only problem I had was that my gigabit ethernet card wouldn’t work for some reason. It was really frustrating because my Mac has a gigabit controller, and I wanted to be able to transfer files between the two really fast. [...]

Leave a Comment

TFRSS for TorrentFlux

I’ve been using a web-based torrent manager called TorrentFlux-b4rt for the past few weeks. It’s a great script that allows me to manage my downloads from any computer with an internet connection. Also, I can place a torrent file in a folder on the server and TorrentFlux will pick it up and start downloading [...]

Leave a Comment

SSH Keys

Well, work was slow today, so I finally decided to figure out how to use ssh keys. I already understood the basic idea of a public/private key pair, but I’d never used one like this before.
Basically, I put my public key on any server I want to access to (and have an account on), [...]

Leave a Comment

Linux Server

Well, it was a lot of work, but with Geoff’s help, I finally got Linux installed on my server. I now have all my drives consolidated under one logical volume, so effectively, I have one drive with over 600GB of space :).
Unfortunately though, I couldn’t get my gigabit ethernet card to work. After [...]

Leave a Comment