Command Line Basics – watch

December 9, 2013 by · 1 Comment
Filed under: bash, command line, HowTo, linux 

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

Reset GRUB Default System After OS Installation

April 7, 2013 by · Leave a Comment
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

Keeping Track of My IP Address

December 31, 2012 by · 5 Comments
Filed under: bash, command line, HowTo, linux 

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

Send Gmail from the Linux Command Line

October 6, 2012 by · 16 Comments
Filed under: command line, HowTo, linux, Linux Mint, Ubuntu 

In this post I'm going to show how to send an email from the Linux command line through your Gmail account. This can be handy if you're a command line junkie. The real power, however, is in being able to send an email automatically from a script. I'll be doing another post where I use this in a script to notify me when something has changed on my system. For now though, I'll just show the setup so you can send an email from the command line.  This process has been tested on Ubuntu 12.04 and Linux Mint 13. Read more

Install SSH and SFTP on Ubuntu or Linux Mint

July 3, 2012 by · Leave a Comment
Filed under: command line, HowTo, linux, Linux Mint, Ubuntu 

If you've been using Linux or Unix for a long time, then you're probably familiar remote technologies like rlogin, FTP, and Telnet. These are all wonderful technologies for using a computer remotely, but they are notoriously insecure due to your login credentials being transmitted over the Internet in plain text format. Read more

Next Page »