Language Selection

English French German Italian Portuguese Spanish

What's GNU in Old Utilities, Part Two

Filed under
HowTos

Years ago, there was a saying that Unix beginners use grep because it's all they know about, intermediate users use fgrep because it's supposed to be faster, and advanced users use egrep because they've tested it. Each of those three variations used to be its own separate program that did different searches. But no more. The single GNU grep binary has a –F switch to do fixed-string searches like fgrep and a –E switch to do extended regular expression-powered egrep searches. GNU egrep is simply a shell script now, like this:

#!/bin/sh
exec grep –E ${1+"$@"}

So now, plain old grep may actually be a bit faster because it doesn’t start a shell as this egrep does. (The strange-looking ${1+”$@”} in that script is a workaround for old Bourne shells. The sidebar “When Shouldn’t a Parameter Be?” explains.)

Full Story.

(Part One).

More in Tux Machines

​Companies really want Linux-savvy employees and they want them now

According to the Linux Foundation and tech job company Dice, in the 2015 Linux Jobs Report, "Nearly all hiring managers are looking to recruit Linux professionals." While programmers and Linux system administrators are in high demand, your chances of landing a great job are greater if you have cloud, security, and/or software defined networking (SDN) skills. In particular, "42 percent of hiring managers say experience with or knowledge of OpenStack and CloudStack are having a big impact on their Linux hiring decisions" while "49 percent of Linux professionals believe open cloud will be the biggest growth area for Linux in 2015." Read more

Ubuntu 15.04 Flavors Beta 1 Available to Download

Ubuntu 15.04 flavors have a first beta version, it now available to download and install for testing. In this release, There are only available images for Kubuntu, Lubuntu, Ubuntu Gnome, Ubuntu Kylin, Ubuntu MATE, Xubuntu and ubuntu cloud. Read more

Mozilla's *Really* Important News: Thunderbird Lives

So why does that matter? After all, there are lots of ways of accessing email, so why should we care whether Thunderbird has been semi-abandoned or not? As I wrote at the end of 2013, the world has changed dramatically in the wake of Edward Snowden's leaks about massive surveillance of our online activities. That makes using encryption crucial, and that, in its turn, gives Thunderbird a renewed importance, because it is currently one of the most popular ways for using GNU Privacy Guard, the free software version of the core PGP technology, via Enigmail. Indeed, it's fascinating to see from the Thunderbird blog post on "Active Daily Installations" that privacy-loving Germany headed the list with 1.7 million out of a total of 9.3 million (UK could only manage a rather feeble 254,000.) Read more

Install Steam In Ubuntu/Linux Mint And Play Amazing Games On Linux


Install Steam In Ubuntu/Linux Mint And Play Amazing Games On Linux

You are using Linux and thinking Linux does not support gaming.! If so, let me tell you that you are not aware of Steam. Steam is a gaming client that lets you play amazing games on Linux system. There are hundreds of free and paid games that you can play without searching the entire web. All at one place and easy to install! So let's get started!
 

Read At LinuxAndUbuntu