Language Selection

English French German Italian Portuguese Spanish

Tweakin' your Bash Prompt

Filed under
HowTos

About a month after moving into my new Slackware install, I have finally gotten around to setting up my cool Bash prompt again... only this time it's perfect.

Now for my own custom hack:

In my prompt I like to see:

* the date
* the time
* the full directory path
* the exit status of the last command

the exit status thing is for installing packages, compiling source, and other bothersome situations where I'd need to type "echo $?" to find out (clearly) if what I just tried to do worked or not.

Full Story.

More in Tux Machines

4MLinux 12.0 Beta Arrives with Better Support for Watching and Downloading YouTube Videos

Zbigniew Konojacki had the pleasure of announcing today, March 28, on his Twitter account that the development cycle towards the 4MLinux 12.0 computer operating system has started with the Beta release for the 4MLinux Allinone Edition, 4MLinux Core, and 4MLinux distributions. Read more

Gorgeous Live Voyager X Distro Brings Xfce 4.12 to Ubuntu 14.04 LTS - Video and Screenshot Tour

On March 27, 2015, French developer Rodolphe Bachelart, the creator of the Live Voyager series of GNU/Linux distributions based on Ubuntu/Xubuntu, was proud to announce the immediate availability for download of a new computer operating system, Live Voyager X 14.04.4 LTS. Read more

Head 2 Head: Android OS vs. Chrome OS

A large part of Google’s OS success hasn’t been because of its awesomeness. No. Frankly, we think nothing speaks louder than the almighty dollar in this world. But both are “free,” right? So this is tie? Not really. Although Android is technically free since Google doesn’t charge device makers for it, there are costs associated with getting devices “certified.” Oh, yeah, and then there’s Apple and Microsoft, both of which get healthy payouts from device makers through patent lawsuits. Microsoft reportedly makes far more from Android sales than Windows Phone sales. You just generally don’t see the price because it’s abstracted by carriers. Chrome OS, on the other hand, actually is pretty much free. A top-ofthe-line Chromebook is $280, while a top-of-the-line Android phone full retail is usually $600. We’re giving this one to Chrome OS because if it’s generally cheaper for the builder, it’s cheaper for you. Read more