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

Articles found under tag: tutorial

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

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

A Pivot Table In AWK

By

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read Article

Why I (sometimes) love regular expressions

By

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read Article

News Elsewhere

Linuxtoday.com

Are the Linux Mint developers using sexist codenames?

 ITworld: Codenames are an expected part of software development, with a lot of open source projects using one kind of codename or another.

Big Data Specialist MapR Updates Hadoop Distribution with Apache Drill

 The VAR Guy: The newest version of MapR's Hadoop distribution features Apache Drill for simpler interfacing between NoSQL and SQL data, among other updates.

Linux/UNIX xargs command examples

 LinuxTechi: xargs command is very handy when combined with other commands.

OpenStack's Mission Is Total Victory

eWEEK: Marten Mickos, the incoming head of HP's cloud efforts, sets an audacious goal for the open-source cloud.

Manage Multiple Logical Volume Management Disks using Striping I/O

 tecmint: Logical Volume management has one of the cool feature which can write data over multiple disk by striping the I/O.

KDE Developer Says Community Managers Are a Fraud and a Farce

 softpedia: The community managers play a very important role in the open source community and they usually shape up the projects they work on, but it looks like not everyone agrees with their function.

Linux Tech Support & Time Warner

 FOSSforce: Which version of Windows or Mac are we using?"

Canonical Partners with AMD for Ubuntu OpenStack Cloud Server

ServerWatch: Canonical, the lead commercial sponsor behind the open-source Ubuntu Linux distribution is ramping up its OpenStack efforts thanks to a new server solution from AMD.

GamingOnLinux.com Latest Articles

The Dead Island Linux Port Is Not Being Done By The Orginal Developers

We recently had a chance to speak to Techland the original developers of the Dead Island series, but they have confirmed they are no longer involved with it.

Tropico 5 For Linux Looks Set To Release This Friday!

On the official Tropico Facebook page the developers sent word out that the Linux (and Mac) versions are still on time for release on Friday 19th September!

Hammerwatch Hack & Slash Action Game Has A Free Expansion

Hammerwatch is a pretty good-looking hack & slash dungeon crawling action game that has just been updated to include a free expansion!

The Video For Valve's SteamOS Talk From DebConf14 Is Up

Valve went to the DebConf this year and did a talk about SteamOS, and the video is finally up for viewing!

Valve Are Tracking SteamOS Issues With AMD Graphics

Valve have put up a post on their SteamOS community to keep track of AMD graphics issues with SteamOS. We hope this will push AMD some more to better their proprietary Linux drivers.

Skullgirls Developers Detail What's Going On With The Linux Port

The Skullgirls developers have finally written up an official blog post on the status of the Linux port.

Shovel Knight Will Have Its Linux Version Soon

Backers of Shovel Knight or gamers interested it in that didn't back it on Kickstarter will be happy to know that Shovel Knight will release the Linux version "soon".

Image & Form Announces SteamWorld Heist

Image & Form who created SteamWorld Dig, a highly rated indie game have just announced SteamWorld Heist!

Starbound Could Be Open Source In Future

The head of Starbound developers Chucklefish "Tiy" has said openly on twitter to all of his followers he wants to open source Starbound, and all their other games.

Another World Now Available For Linux, Plus Cheese's Thoughts And Some Words From Icculus

Eric Chahi's renowned cinematic platformer makes its Linux debut. Read inside for details, plus some quotes from Linux porter Ryan C. Gordon.

Another World - 20th Anniversary Edition Looks Set For Linux

Another World – 20th Anniversary Edition looks like it will give Linux gamers some love thanks to information from the SteamDB.

Pirates, Vikings And Knights II Source Engine Game Coming To Linux

Pirates, Vikings and Knights II is being updated to the latest Valve SDK and with it comes Linux support! Pirates, Vikings and Knights II is a unique, total conversion of the Half-Life 2 Source engine. 3 teams fight each other for kills, objectives and total domination!

Mojang Confirms Microsoft Is Buying The Minecraft Maker

In a move that will shock many, Mojang has finally confirmed the rumours. Microsoft is buying them out, and so Minecraft & Scrolls will be owned by Microsoft.

Terraria Officially Confirmed To Be In Development For Linux, Finally!

Even though it seemed likely from a developer tweeting a screenshot of Terraria on Linux there was never an official confirmation. Until now that is! The developers are now confident enough to confirm it.

Insanity's Blade Released For Linux

Insanity's Blade is an interesting mix of old school action and platforming that is now available to buy and play on Linux. They even offer up a demo for us.