Language Selection

English French German Italian Portuguese Spanish

Four Easy Fun Useful Things You Can Do With Linux

Filed under

Today you get a hearty serving of some of my favorite tips and tricks, painstakingly accumulated and carefully squirreled away for a special occasion. Autumn is here, which is always special, so here they are.

Colorizing Remote BASH Prompt

When you get a bunch of remote SSH sessions going it's easy to lose track of where you really are, because all you see are boring old generic prompts. Sure, they show the hostnames, but it's still easy to get confused. Which can be a bit amusing when you issue a reboot command to the wrong computer, or send a cranky broadcast message to all users on the wrong system. An easy way to keep track is to colorize and customize the Bash prompt on your remote systems, so you can easily differentiate them from your local login. You can assign different colors and text for different machines and accounts. For example, you can make the prompt turn green and display the text "THIS IS AN SSH SESSION" by adding these lines to ~/.bashrc of your remote account:

Running a Local Timeserver the Easy Way

Keeping your LAN hosts synchronized is very important, and easy. It's more important for them to be synchronized to each other than to have the correct time, but there's no reason you can't have both.

More Here

More in Tux Machines

Data indicates that Android picked up global market share from iOS last month

Tracking mobile web traffic, NetMarketShare computes the market share for mobile operating systems. Based on the data from last month, Android was able to widen its gap over iOS globally. Considering that the Apple iPhone 6s and Apple iPhone 6s Plus weren't launched until September 25th, the recently released phones accounted for a miniscule part of the data. The new models won't have a major effect on the results until the figures for this month are released. Read more

RapidDisk / RapidCache 3.4 now available.

RapidDisk is an advanced Linux RAM Disk which consists of a collection of modules and an administration tool. Features include: Dynamically allocate RAM as block device. Use them as stand alone disk drives or even map them as caching nodes to slower local disk drives. I pushed 3.4 into the mainline earlier this morning. Changes include:
  • Added ability to autoload RapidDisk volumes during module insertion.
  • Fixed bug in RapidDisk (volatile) volume size definition across 32 to 64 bit types.
  • Making use of BIT() macro in the driver.
  • Removed RapidDisk-NV support. It was redundant with the recently kernel integrated pmem code.
You can pull it from the git, yum, ZYpp & apt repos or download it from the SourceForge project page. To stay updated, you can follow the RapidDisk Google+ page.