Unknown Bash Tips and Tricks For Linux

Familiarity breeds ennui, and even though Bash is the default Linux command shell used daily by hordes of contented users, it contains a wealth of interesting and useful features that don’t get much attention. Today we shall learn about Bash builtins and killing potential.

Bash Builtins

Bash has a bunch of built-in commands, and some of them are stripped-down versions of their external GNU coreutils cousins. So why use them? You probably already do, because of the order of command execution in Bash:

  1. Bash aliases
  2. Bash keywords
  3. Bash functions
  4. Bash builtins
  5. Scripts and executable programs that are in your PATH

So when you run echo, kill, printf, pwd, or test most likely you’re using the Bash builtins rather than the GNU coreutils commands. How do you know? By using one of the Bash builtins to tell you, thecommand command:

Complete story

Windows 8 may drive me to Linux

I have been a Microsoft defender for decades. “No, MS-DOS 4.0 isn’t really that bad,” I pleaded to friends almost 25 years ago. “Give Windows 98 a chance” I begged ten or 11 years later. Heck, I extolled the virtues of Vista (which I did believe in, by the way) to anyone willing to listen. But in the wake of last week’sintroduction of the Consumer Preview edition of Windows 8, I can say only this: Microsoft, you’re on your own.

Never — and I’m going to repeat this for additional emphasis, never – have I been as horrified by one of the company’s products as I am by this one. (Yes, I used Microsoft Bob.) Every choice seems to have been made for a sketchy reason, and the full collection of them bears the haphazard feel of the morning after a particularly raucous college party. Scratch that: Even at my most inebriated, I’m pretty sure I would never conceive of something like Windows 8.

Complete story

Ubuntu for Android: Linux desktop on a smartphone

You have to give CanonicalUbuntu Linux’s parent company credit for thinking big. Today Canonical is unveiling Ubuntu for Android. What is in the world is that? It’s bringing the Ubuntu Linux desktop to to multi-core Android smartphones docked with a keyboard and monitor. With it, Canonical claims you’ll be able to use Android on the phone and Ubuntu as your desktop, both running simultaneously on the same device, with seamless sharing of contacts, messages and other common services.

The company states that the phone experience will be pure Android–it’s a normal Android phone. When the device is connected to a computer screen, however, it launches a full Ubuntu desktop on the computer display. It’s exactly the sameUbuntu Unity desktop many of you are already using and it will include all of Ubuntu’s current applications, from office productivity to photography, video and music.

Linux has a Place in the Enterprise

From its meager beginnings as a hobby project to its extreme success among geeks, Linux has survived lawsuits, boycotts and onslaughts from every corner of the UNIX, Windows and Mac computing markets. Linux has, in spite of its critics, made its way into the world’s data centers. Linux enjoyed early success as a host platform for the Apache web server but now has blossomed into a formidable contender for rack space. For an operating system, Linux has the best mixture of vendor neutrality, open source code base, stability, reliability, scalability and affordability. It also provides the user or administrator the choice of graphical user interfaces or none at all.

Linux has one very significant advantage over all other operating systems: Hardware compatibility. It runs on a variety of hardware platforms from wristwatches to mainframes, although it’s most familiar playing field is on x86 metal.

Complete story

Linux Coming to Microsoft Windows Azure Cloud?

Plenty of pundits say the cloud runs on Linux. Heck, even Microsoft appears to be gearing up to support Linux in the cloud — sort of. The specifics: Microsoft is preparing to “enable” Linux to run on Windows Azure — though it doesn’t sound like Microsoft will officially offer “support” for Linux on Windows Azure.

The Linux-on-Windows-Azure chatter comes from All About Microsoft, the popular blog penned by Mary Jo Foley. Her sources have been solid over the years; I trust Foley’s reporting.

Complete story

Can open source save the planet?

Ambitious open source projects are nothing new. After all, the free software movement started with the GNU project – the creation of free tools to build a free operating system – which at one point many would have considered an impossible dream.

However, the participants in the Open Source Ecology project take ambition to new heights. The project takes the principles that were developed originally by the open source software movement and later the experiments with open source hardware, and applies them to developing an environmentally friendly society by creating open source tools capable of building sustainable communities – pretty much from scratch, using recycled and scrap materials.

Complete story

SKYPE FOR LINUX WITH TABS SUPPORT USING SKYPETAB NG (NEXT GENERATION)

SkypeTab-NG (NG stands for Next Generation) is a tool that adds tabs to Skype for Linux. Besides providing a tabbed chat window, the SkypeTab-NG also embeds both the conversation and the main Skype windows in a single window.
SkypeTab is not new, but it was recently rewritten, fixing most bugs from the previous SkypeTab, like the annoying laggy window movement bug. Also, SkypeTab used to only work with Compiz, Openbox and Xfwm but the new version should work with other window managers too, like Kwin, etc (I’ve actually tested it under Kubuntu 11.10 Oneiric Ocelot and it worked just fine).

Beloved webOS Twitter app Carbon coming to Android

Carbon for Android

Now that webOS is all but dead, we’re starting to see not only the end users defect to Android, but developers as well. And one of the more popular webOS Twitter apps is headed this way, too. Carbon, which already is working its way to Windows Phone 7, is coming to Android, developer dots & lines tells Android Central.

It’s currently in the design phase, UX director Saleh Esmaeili tells us. And he also gives us a little bit of insight into why we’re just now seeing Carbon come to Android. In a word (OK, three words): Ice Cream Sandwich. Says Esmaeili:

Complete story

Red Hat: ARM in Linux Is Not Ready for Prime Time

From the ‘Twist my ARM’ files:

According to some vendors, one of the most exciting new avenues for Linux in 2011 is the ARM architecture.

Ubuntu is all over it and so is HP with their Project Moonshot effort using Calxeda ARM technology. While Ubuntu and HP and optimistic, Red Hat is more…realistic.

I recently had a conversation with Tim Burke, vice president of Linux Engineering at Red Hat – and to make a long story short – his views on ARM are very different than Ubuntu.

“ARM in Linux is not ready for prime time,” Burke said.

However he did not that Red Hat is helping to lead effort to get standards for hardware enumeration and some scalability issues. At presents he just doesn’t see a fit for ARM in the enterprise. He does however see it as being suited for Fedora – at least for now.

Considering the mission critical systems that Red Hat support and the need for certifications, I can see where Burke is coming from. ARM might be a possible future for Linux, but reality is that it’s likely a bit too early for the enterprise. But hey, I’m happy to be proved wrong and it will be very interesting to see what the Calxeda/HP/Ubuntu combination is actually able to deliver in 2012.