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

7 Things You Can Do With The Xposed Framework on a Rooted Android Phone or Tablet

HowToGeek: The Xposed Framework is a way to make system-level changes to your Android operating system without installing a custom ROM.

Mozilla Improving Security Processes After Exposing Developer Data

eWEEK: Users of the Mozilla Developer Network and Bugzilla testing system are advised to update their passwords after a pair of data disclosures were reported in August.

UberWriter Text Editor Review - A Writer's Dream Come True

 softpedia: UberWriter is described by its developer as a simple markdown editor, but it's so much more than that

Tech Comics: The Pandora Hotline

 Datamation: Aren't some of the songs we listen to on Pandora just a little bit embarrassing?

Linux 3.17 rc3

Linus Torvalds: Please don't prove me wrong

Metro 2033 Redux For Linux Looks Closer To Reality

 GamingOnLinux: Metro 2033 Redux is confirmed for Linux, but the actual release date isn't certain yet.

SUSE's Flavio Castelli on Docker's Rise Among Linux Distros

Linux.com: On July 30, the first official Docker build for openSUSE was released, making this distribution the latest among many to join the fray. I

LibreOffice 4.3.1 "Fresh" announced

DocumentFoundation: The Document Foundation announces LibreOffice 4.3.1, the first minor release of LibreOffice 4.3 “fresh” family, with over 100 fixes (including patches for two CVEs, backported to LibreOffice 4.2.6-secfix, which is also available for download now).

What happens when a non-coder tries to learn Linux

OpenSource.com: I wanted to learn Linux, so here's my account of what I did to achieve that goal.

GamingOnLinux.com Latest Articles

Ryan Icculus Gordon On The Linux Action Show

Ryan Icculus Gordon has just recently been on a guest on the excellent Linux Action Show to talk about Linux gaming. Ryan Icculus Gordon is the name behind a number of big ports.

Empire: Total War Looks Close To A Linux Version, Pokes Fun At Linux Gamers

We already knew that Total War: ROME II would come to Linux, but now it looks like the original Empire: Total War will come to Linux too and maybe sooner than the sequel.

Steampunk Train Shooter Meets Tower Defense: Kickstarter & Playable Demo

If you're looking for steampunk game that combines elements of rail shooters and tower defense there's a kickstarter launching Sept 2 with your name on it! In Tumbleweed Express players must expertly defend their train while constantly battling against an endless barrage of militarized bandits, outlaws, and opposing organizations.

GOL Cast: Fighting A Desperate Battle In AI War

An RTS fan? Well, you might like what this complex strategy game about a galactic war against an over-powered AI brings to the table. Let's see what AI War is all about!

Metro: Last Light Redux Showing Signs Of Getting The Linux Version Out

Metro: Last Light Redux has been updated on the SteamDB to include some Linux information, so it seems the developers are working on getting it sorted.

NeonXSZ Cyberspace FPS Now On Steam For Linux

For those of you who stick to Steam this will be good news. NeonXSZ is an awesome cyberspace FPS with solid gameplay and it looks good too.

Ambient Puzzler Hexcells Infinite Available On Linux Today

The third and final instalment in the popular puzzle game series launches today, DRM free and on Steam.

The Most Popular Linux Gaming Articles For August 2014

Here is a look back at the most popular articles on GamingOnLinux for August 2014, an easy way to for you to keep up to date on what has happened in the past month for Linux Gaming!

Trine Enchanted Edition May Have A Linux Beta

We know that the Trine Enchanted Edition major update to Trine will come to Linux, but we don't know when yet sadly. The good news is they may do a beta for the Linux version.

Icewind Dale: Enhanced Edition For Linux & Baldur's Gate: Enhanced Edition Linux Update

Icewind Dale: Enhanced Edition has been announced to much fanfare and it looks like it will be getting a Linux version. Well sort of, maybe, we aren't quite sure. Also there's another small bit of hope for the Baldur's Gate EE Linux version.

Sid Meier's Civilization: Beyond Earth Has A Strategy Packed New Trailer

Sid Meier's Civilization: Beyond Earth is going to rock the strategy world when it gets released. We already know the Linux release will be delayed, so for now here's a new awesome trailer.

Shadowrun: Dragonfall - Director's Cut RPG Is A Thing & Has A Trailer

Shadowrun: Dragonfall - Director's Cut is a new edition of the DLC for Shadowrun Returns in standalone form. The Director's Cut adds a host of new content and enhancements to the original game.

Appointment With F.E.A.R. A Comic Adventure Released For Linux

Appointment With F.E.A.R. is a rather interesting looking mix of comic, adventure and visual novel all in one fancy looking package.

Gas Guzzlers Extreme Is Still Heading To Linux Despite The Delay

Sadly the excellent looking Gas Guzzlers Extreme action packed racing game isn't yet on Linux, but we now know why at least!

Strife, The New MOBA From S2 Games Is Now In Open Beta For Linux & It's Free

Strife is the brand new free to play MOBA from S2 Games who created Heroes Of Newerth, Savage & Savage 2. Is it any better than other MOBA's though?