The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: bash

Grouping things with AWK

By

In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line

By

There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

News Elsewhere

Linuxtoday.com

Dell offers new Ubuntu Linux workstation laptop

 ZDnet: Dell is continuing to support Linux developers with new Linux-powered laptops.

Docker Project Restructures to Improve Scalability, Openness

eWEEK: The new structure is designed to ensure the scaling of the project, as it exponentially grows in terms of contributors, code contribution and its technology partner ecosystem," Steve Francia, the new chief operator of the Docker project

VMware OpenStack Customers Growing Faster than Overall Business

ServerWatch: 2014 was a big year for virtualization vendor VMware, but CEO Pat Gelsinger is not going to let his company rest on its laurels anytime soon.

Setting up a private Docker registry

Why would you want to set up a private registry?

Installing and using Git and Github on Ubuntu: A beginner's guide

 HowToForge: GitHub is a treasure trove of some of the world's best projects, built by the contributions of developers all across the globe.

Vivaldi - Awesome Multi-Platform Browser Including Linux

 linoxide: A new browser is on the market.

Dying Light Released For Linux, Some Thoughts, You May Want To Wait

 GamingOnLinux: It's quite hard to contain my excitement about this game, but as always we will give it a fair look and tell you what we think about Dying Light.

How To Patch and Protect Linux Server Against the Glibc GHOST Vulnerability # CVE-2015-0235

Nixcraft: How do I verify that my server has been fixed against the Glibc GHOST vulnerability?

What is a good command-line IRC client on Linux

 xmodulo: Now replaced more and more by forums, social networks, or mailing lists, IRC was once the method of communication of the web.

GamingOnLinux.com Latest Articles

Outlast, That Really Scary Game Looks Like It's Still Heading To Linux

Good news folks, thanks to a comment on a recent article we were poked about taking a look at the progress of porting Outlast to Linux, and it seems to have a new private Linux build in testing.

GOL Cast: Fragging Bots And Testing New Maps In Xonotic

We would like to interrupt our stream of news about AAA games and bring you some critique on the new Xonotic 0.8 version. So, enjoy!

Out There: Omega Edition, A Hard Sci-fi Space Exploration Game Now In Beta For Linux, My Thoughts

Out There: Omega Edition has landed on Linux in the form of a beta, and it's a game we have been eagerly waiting for. Thankfully I've had some time to test before the official release, and here are some thoughts.

Darksiders Linux Port Looks Like It Is Still Happening

Darksiders is another big game we are excited about, and sadly the current people in charge of the port haven't replied to our messages, but thanks to SteamDB we can see it's still happening.

The Witcher 2 Has A New Beta For Linux, The Improvements Are Staggering

We know how some of you feel about wrappers, but that's an old argument now. The game is here, and the developers are still working on improving it. The Witcher 2 had a new beta a few days ago, and we took a look and just how much of an improvement it is.

Scirra’s 'Construct' Game Creation Editor To Support Linux With Construct 3

I love the idea of game creation tools that require no programming knowledge, as they enable hobbyists to have fun, quick prototyping and much more. Construct 2 is one of the finest around, and the developers have laid out plans for Construct 3.

Borderlands: The Pre-Sequel New DLC ‘Lady Hammerlock The Baroness Pack’ Lands On Linux

Borderlands: The Pre-Sequel the latest in the Borderlands series that is available on Linux has gained another DLC titled ‘Lady Hammerlock the Baroness Pack’, and this new DLC is available for Linux thanks to Aspyr Media.

Two Worlds II Is Not Coming To Linux, Well Maybe, We Aren't Sure Anymore

Sadly sometimes people go on auto-pilot, and the developer of Two Worlds II and Raven's Cry has confirmed to me they didn't read my previous emails correctly, so Two Worlds II is not coming to Linux, but it might be, confused? I am.

Unfurl Your Scythes, Grim Fandango Is Now Available

Double Fine's remastered version of Grim Fandango has launched and is now available for Linux on Steam, GOG and the Grim Fandango Remastered website.

Majestic Nights, An Episodic Action-adventure-thriller Confirmed To Be In Testing For Linux

Majestic Nights is an episodic action-adventure-thriller set in an alternate 1980s where all conspiracy theories, past and present are True. The developers have looked into it, and have removed parts that don't work on Linux, and so it begins!

Cradle, A Fantastic Looking 3D Adventure Game Shows Linux Progress

Cradle is a really quite good-looking adventure game coming out, and the developers have teased their Linux testing recently.

Dying Light Released For Linux, Some Thoughts, You May Want To Wait

It's quite hard to contain my excitement about this game, but as always we will give it a fair look and tell you what we think about Dying Light. This post continues to be updated, and it's really not good. Updated 28th January for game-breaking bugs.

Star Traders: 4X Empires Strategy Game Now On Linux

Star Traders: 4X Empires has just been released for Linux, so fans of 4X strategy games might want to take a look out our new release.

Dying Light Is Now Confirmed For Linux, Bring It On Techland

Dying Light is now confirmed for Linux thanks to the announcement from the developers on the Steam store itself. The Linux icons show up on the store pages, and the game even has a steam coming soon banner on the home-page. Time to get seriously excited.

Fahrenheit: Indigo Prophecy Remastered Pops Up On Amazon, Has A Tux On The Cover

Something quite curious has appeared on Amazon today. A remaster of a cult game Indigo Prophecy, or Fahrenheit here in Europe, has been added onto the store. And now for the really good bit: the cover has an Aspyr logo and a very familiar penguin.