Language Selection

English French German Italian Portuguese Spanish

Four Easy Fun Useful Things You Can Do With Linux

Filed under
Linux

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

Leftovers: Software

Emulation or WINE

Fedora: The Latest

  • New "remi-php71" repository
  • PHP on the road to the 7.1.0 release
  • First round of Fedora 24 Updated Lives now available. (torrents expected later this week)
    As noted by my colleague on his blog the first round of F24 Updated Lives are now available and carry the date 20160720, Also as mentioned last week on his blog F23 Respins are not going to be actively made, however we and the rest of the volunteer team will field off-off requests as time and resources permit. We are considering a new/second tracker for the Updated Spins but as of today there are only .ISO files available at https://alt.fedoraproject.org/pub/alt/live-respins [shortlink] F24 Live-Respins . The F24 respins carry the 4.6.4-200 Kernel and roughly ~500M of updates since the Gold ISOs were released just 5 weeks ago. (some ISOs have more updates, some less)

Leftovers: Ubuntu

  • Snappy Packaging Happenings In The Fedora, Arch Space
    This week Canonical hosted a Snappy Sprint in Heidelberg, Germany where they worked to further their new package management solution originally spearheaded for Ubuntu Touch. This wasn't an Ubuntu-only event, but Canonical did invite other distribution stakeholders. Coming out of this week's event were at least positive moments to share for both Arch and Fedora developers. The Arch snaps package guy made progress on snap confinement on Arch. Currently when using Snaps on Arch, there isn't any confinement support, which defeats some of the purpose. There isn't any confinement support since it relies upon some functionality in the Ubuntu-patched AppArmor with that code not yet being mainlined. Arch's Timothy Redaelli has got those AppArmor patches now running via some AUR packages. Thus it's possible to get snap confinement working on Arch, but it's not yet too pleasant of an experience.
  • PhantomJS 2.1.1 in Ubuntu different from upstream
    At the moment of this writing Vitaly's qtwebkit fork is 28 commits ahead and 39 commits behind qt:dev. I'm surprised Ubuntu's PhantomJS even works.
  • Ubuntu 16.04.1 LTS released
    Ubuntu 16.04 is a LTS version of Ubuntu.Now Ubuntu team has announced the release of it's first point release,Ubuntu 16.04.1.This first point release includes many updates containing bug fixes and fixing security issues as well and as always what most of users want from a distribution and most of distributions tries to perform,Stability.This release is also well focoused on stabilty as Ubuntu 16.04.