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

Articles found in "Tutorials" category:

How to read a file N lines at a time in BASH: 3 methods

By

The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

Linux, HP and the avoidance of Windows

By

Having a TL;DR day? In a nutshell, I just replaced a 2011 HP Mini netbook with a 2014 HP mini-notebook. Both run Linux. Thank you, HP. The netbook I bought a 2011 HP Mini 110-3744TU in early 2012 (specs below). It came with Windows 7 'starter', which I replaced with CrunchBang Linux. The Mini is…

Read Article

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

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

News Elsewhere

Linuxtoday.com

Ubuntu MATE Project Donates Money to Geany, Transmission, and MATE Devs

 softpedia: The Ubuntu MATE team makes monthly donations to other projects

Installing and Configuring X2Go Server and Client on Debian 8

 tecmint: Much of the power behind Linux comes from the command line and the ability for a system to be managed easily remotely.

OpenSSH 6.9

 ItRunsOnLinux: The OpenSSH team has released version 6.9 of OpenSSH.

setup Apache Cassandra NoSql Database with Ubuntu 15.04

 Unixmen: Apache Cassandra is a massive scalable NoSQL database

Firefox 39 Arrives After a Three-Day Delay

Mozilla has finally released the stable version of Firefox 39 after it delayed the launch for a couple of days

One world, one container: Open Container Project

cloudy weather: Today, containers are becoming the default way that people put apps on clouds

Q&A: Zipcar founder Robin Chase on open source and the collaboration economy

ITworld: Sharing is the "path of greatest value creation," says Chase.

Install Cacti (Monitoring tool) on ubuntu 15.04 server

Ubuntu Geek: Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality.

How to set up your Raspberry Pi in Mac OS X

TechRadar: Get some Apple in your Raspberry Pi

GamingOnLinux.com Latest Articles

Opinion: Why We Want Native Ports Only

I have noticed a very scary drift towards accepting wrapper based ports. Working as a developer and also a long term Linux user I can only believe…

MegaSphere, A Seriously Good Looking Sci-fi Platformer With A Big Gun

It's not often that I see a game trailer and it instantly has my attention, but MegaSphere has managed to do this. Now, tell me you're not excited…

Nightside, The Fancy Looking RTS Updated With More Missions

Nightside is one of the coolest looking RTS games I've seen in years, and it had another big update recently. In the latest Early Access update the…

Anno Online From Ubisoft & Blue Byte Comes To Steam For Linux, Thoughts Included

Anno Online is getting destroyed by the reviews on Steam, so naturally I need to see what all the fuss is about for this Linux game from Ubisoft…

Pajama Sam Collections Now On GOG With Linux Support

GOG have boosted their children's collection with two volumes of Pajama Sam pount and click adventure games. It's really good to see games aimed at…

Happy Birthday To GamingOnLinux, Six Years In The Making

Well that came fast. Six years ago I started tinkering with the first iteration of GamingOnLinux, and here we are still going strong. You can see a…

Point-And-Click Adventure 'Anna's Quest' Released On GOG And Steam For Linux

Daedalic Entertainment's latest game, Anna's Quest, got a same-day release for Linux earlier this week, both on Steam and DRM free on GOG. I've…

Brushfire Games On Their Linux Sales For Shipwreck & Their Thoughts On Linux

A recent article about Jon Blow has spurred other developers getting in touch, and one developer is Brushfire Games, the developer of Shipwreck.…

Low Linux Sales Of Democracy 3 Leads To Jonathan Blow, Developer Of Braid Commenting On Linux

Updated: Article updated with more data. I am always wary of posting articles like this, but sometimes what developers with influence say needs…

7 Days To Die Completely Broken For Mac & Linux

Just a little warning if you were thinking of picking up '7 Days to Die', they just release Alpha 12 which has completely broken Mac & Linux…

Project Zomboid Build 32 Is Live, Steam Integration Coming Soon

Project Zomboid is easily one of the best Zombie survival games around, build 32 adds a lot of new stuff, and Steam integration is coming soon.New in…

Trine Enchanted Edition Now Available On GOG For Linux

It's been a while, but Trine Enchanted Edition is finally available for Linux users on GOG. It's well worth checking out, so hopefully a few more of…

Guess What, It's Friday Again, Stream At 5 PM UTC!

Another week has passed and it's time for our weekly livestream with games and generally mediocre commentary. So clear up your schedule, hide your…

GOL Cast: Blowing Up Raiders Mad Max-style In Convoy

So what do you get when you mix FTL and Mad Max? Well, the answer would probably be Convoy. Let's take this roguelite game for a spin and blow up…

Terra Nova: Strike Force Centauri, Another Classic Released On GOG For Linux

Terra Nova: Strike Force Centauri is a classic tactical shooter that now has a Linux version on GOG, and it's highly rated. Originally released in…