There are several log files in a Linux system. Keeping an eye on these log files can be one of the important tasks of a Linux System administrator. You can easily view the end of a log file using the tail command. But if you want to monitor that file all day long it's pretty tedious to enter the tail command every few minutes to check on that log file. You could write a short script with an infinite loop to check the file periodically, but it turns out that there is already a program to handle repetitive tasks for you. Read more
Filed under: command line, FOSS, HowTo, linux, Linux Mint, Ubuntu
There are times when you want certain information on your computer protected from prying eyes. One way to protect your information is to encrypt your home directory. However, that does not protect your information when you are logged on to your computer. I've shown in the past how you can use Cryptkeeper to create an encrypted folder on your system. Cryptkeeper is a graphical front end to encfs. encfs allows you to create an encrypted folder and then mount it as a user filesystem using FUSE. In this tutorial I'll show how to use encfs from the command line to create and manage an encrypted folder on Linux.
Filed under: command line, HowTo, linux, Linux Mint, Ubuntu, Xubuntu
File system labels are not something you need to have in order to have a functioning Linux operating system, but they can make your computer easier to navigate when you have several disk partitions. In this post I'll show how to add or edit a Linux file system label for ext2, ext3, and ext4 disk partitions.
Filed under: command line, HowTo, linux, Linux Mint, Ubuntu
From time to time I like to test out a new Linux distribution or just an updated version of my current distribution. I've created extra partitions on my hard drive for these test installations. All of the distributions I've tried so far require a boot loader to be installed to the hard drive as part of the process. This creates the minor problem of the test installation taking over the boot process. I prefer to have my main Linux installation handle the booting process. The following steps will show how to hand boot control back to your main Linux installation with the GRUB 2 boot loader. Read more
My main computer at home acts as a file and media server for the whole house, so it's pretty much turned on all the time. There are times when I'm away from home that I want to remotely access or download a file from my home computer. My home internet service uses a dynamic IP address and every once in a while we get a short interruption to our power that forces the modem to reset. Of course, when that happens, the modem pulls a new IP address. I thought it would be handy if I could come up with a script to keep track of my current IP address for me. Read more