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

Articles found under tag: tutorial

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

How to repeat a script, or not

By

I have a data-entry script which adds records to a plain-text data table. It's a fairly complicated script with a GUI dialog, and until recently it added one record at a time. To add another record, I had to launch the script again. Was there a simple way (I asked myself) to re-run the script, or…

Read Article

On dates and stuffed non-dates

By

Nothing gives my wife the Screaming Meemies like dates in spreadsheets. Unless she formats the target cell in advance as text, the spreadsheet will turn a perfectly innocent, non-date string like 23/2/6 into '23-Feb-2006'. When she types 6420-11-3, according to both LibreOffice Calc and Gnumeric,…

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

News Elsewhere

Linuxtoday.com

How I shrunk a Docker image by 98.8% – featuring fanotify

Is there anything like a “diet program for Docker Images” ?

Microsoft continues earning money from Linux -- increases patent licensing agreements

betanews: Many people -- let's call them 'haters' -- like to make fun of Microsoft's mobile market share with Windows Phone.

Google Provides Detailed Analysis of GitHub Attack Traffic

ThreatPost: The high-profile DDoS attack against GitHub that went on for several days last month was the end result of an operation that included several phases and extensive testing and optimization by the attackers

Debian 8.0 Jessie has been released!

There's a new sheriff in town. And her name is Jessie.

Build Your Own Linux Distro

LinuxVoice: Do you have a favourite distro that you’ve spent hours customising?

Btrfs In Linux 4.1 Has Fixes For File-Systems Of 20 Terabytes & Up

Phoronix: It's nearing the end of the Linux 4.1 kernel and Chris Mason has now sent in his pull request of Btrfs file-system updates for this next kernel update.

How to Install ‘atop’ to Monitor Logging Activity of Linux System Processes

tecmint: Atop is a full screen performance monitor that can report the activity of all processes, even the ones that have been completed

Use Geofix to Geotag Photos in digiKam

 scribblesandsnaps: Geofix is a simple Python script that lets you use an Android device to record the geographical coordinates of your current position.

How to encrypt a partition with DM-Crypt LUKS on Linux

 HowToForge: TrueCrypt is no more, and the purpose of this post is to show you straightforward partition encryption with dm-crypt luks.

GamingOnLinux.com Latest Articles

Antisquad Turn Based Strategy Released For Linux As Promised

We can add 'InsGames' to the list of developers who promise a Linux version, and deliver it eventually! Just over a year ago I wrote about the…

Arma 3 Certainly Looks Closer To A Linux Version

A few days ago we notified you about signs of Arma 3 coming to Linux, and now it looks even more likely. If you didn't notice (like me) that Arma 3…

The Vanishing Of Ethan Carter Is Being Moved To Unreal Engine 4, Should Come To Linux

The Vanishing of Ethan Carter is a gorgeous looking exploration and mystery game that will be moved to Unreal Engine 4. The developers stated they…

Gabe Newell Takes To Reddit To Answer Questions On Steam Paid Mods

In an attempt to cool things down, Gabe Newell of Valve took to reddit to answer questions and concerns from people. I throw some opinions in too.…

Zowie Gear EC2-A Gaming Mouse: A Linux Gamer's Review, Initial Impressions And Early Performance

Zowie Gear EC2-A: A Linux Gamer's Review Initial Impressions and Early PerformanceBy KyrottimusBackground: First off, let me start by stating that…

Stop Everything, Tea Party Simulator 2015 Released For Linux

Will these joke simulator games ever end? Who honestly is going to buy Tea Party Simulator 2015? Goat Simulator was funny, but this... Am I dreaming,…

The New Trailer For 'Chroma Squad' Is Madness, Check It Out

I'm actually quite excited to give Chroma Squad a go, and this brand new trailer is showing off the gameplay rather well. The game has been in closed…

Dungeons 2 Strategy Game Released On Steam For Linux

Dungeons 2 is another game to come to Linux thanks to Kalypso Media Digital, and it's very much like the old Dungeon Keeper games. Reviewers are…

Will Fight For Food: Super Actual Sellout: Game Of The Hour Released For Linux

Will Fight for Food: Super Actual Sellout: Game of the Hour wins my award for most annoying name of a game ever. That aside the game has been…

Survivor Squad: Gauntlets Adds Linux Support, Looks Really Fun

Survivor Squad: Gauntlets has recently added Linux support to their Early Access title. Honestly, I didn't think much of it looking at screenshots,…

Remember Your Weekly Dose Of Livestream Starting At 5 PM UTC!

Can you guess what day it is? No? Fine, it's Friday and that means we get to do the gamings and streamings for you people. Live, naturally. Watch…

Steam Officially Starts Allowing Paid Mods In The Workshop, People Are Upset

In a move that is not even remotely surprising to me, Valve has started rolling out the ability for mod authors to sell their works. I think…

Demise Of Nations: Rome Enters Early Access, Free To Play Strategy Game For Linux

I know, I used that terrible free to play term in a title again didn’t I! They are doing it in an odd way too, with only one map playable…

Crypt Of The NecroDancer Exits Early Access, Get With The Beat

Crypt of the NecroDancer was a bloody good idea for a game, and it is executed well. The game has now left Early Access. I’ve spent a total of…

Parcel, A Cyberpunk Puzzler Exits Early Access On Steam For Linux

Parcel is a Cyberpunk puzzle game from Polar Bunny Ltd that kept our flesk pretty hooked, and less than a month later it has come out of Early…