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

Articles found under tag: tutorial

Hunting gremlin characters


When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

Read Article

How to manage alternating lines of text on the command line


In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates


It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

Read Article

How to garble


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


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


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


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


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


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


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

News Elsewhere

Physical RAM attack can root Android and possibly other devices

 CSOonline: Not only are Rowhammer attacks possible on ARM, but they're even easier to pull off than on x86.

Benefits Of Using Lightweight Linux Distributions

There are quite a few lightweight linux distributions around

An introduction to Mozilla's Secure Open Source Fund

The SOS Fund is a new effort at Mozilla to support security audits and remediation for open source software projects.

3 Ways to Delete All Files in a Directory Except One or Few Files with Extensions

 tecmint: Sometimes you get into a situation where you need to delete all files in a directory or simply cleanup a directory by removing all files except files of a given type (ending with a particular extension).

ArchBang - Best Arch based distro for old or low-end hardware with high performance and low resource utilization

 2daygeek: ArchBang is one of the best Arch based distros for old or low-end hardware

OpenStack Summit Emphasizes Security, Interoperability

eWEEK: Although the event will highlight use cases at major customers as well as cloud interoperability, securing OpenStack clouds will be a prevailing theme this year.

FFmpeg 3.1.5 "Laplace" Multimedia Framework Released for GNU/Linux Distributions

FFmpeg 3.1.5 was released on October 22, and it's now considered the latest stable and most FFmpeg release from the 3.1 release branch, dubbed "Laplace

Ubuntu 17.04 "Zesty Zapus" Is Open for Development, GCC Linaro Used for ARM Port

 softpedia: Dubbed by Canonical and Ubuntu founder Mark Shuttleworth as "Zesty Zapus," the Ubuntu 17.04 release should be yet another normal, unexcited version of Ubuntu Linux

Black Lab Enterprise Linux 8 Service Pack 1 Supports Rebootless Kernel Installs

Black Lab Enterprise Linux 8 Service Pack 1 (SP1) is now powered by Linux kernel 4.4.0-45.66 Latest Articles

2D Tactical RPG 'Dungeon Rushers' is a game you may want to give a look at, demo available

Tags:Demo,Dungeon Crawler,Indie Game,RPG,Steam,StrategyDungeon Rushers was already covered in this previous GOL article, and it has moved to a full…

Human: Fall Flat released DRM free on GOG, a physics-based 3D puzzler

Tags:Indie Game,GOG,Initial Thoughts,Puzzle Human: Fall Flat [GOG, Official Site] was released on Steam back in July, but it now has a fresh DRM free…

Cities: Skylines - Natural Disasters now has an in-game trailer

Tags:Coming Soon,DLC,Simulation,SteamCities: Skylines - Natural Disasters [Official Site] is the next DLC for the city building simulation Cities:…

'Tether' a very promising UE4 first-person adventure game will be coming to Linux

Tags:Adventure,Coming Soon,Horror,Indie Game,Steam,Teaser,Unreal Engine,Video It's not often a trailer leaves me begging for more, but 'Tether'…

If you're in the mood for a decent Zombie survival game, don't pass up on Project Zomboid

Tags:Sandbox,Simulation,RPG,Steam,GOG,Early Access,Survival,Initial Thoughts Project Zomboid [Steam, GOG, Official Site] is the rather good sandbox…

Aspyr Media are reminding Linux gamers not to give up hope on Civilization VI

Tags:Aspyr MediaAspyr Media sent out a tweet today for Linux gamers stating that Civilization VI [Steam] for Linux is still possible. This is a good…

Feral Interactive will be livestreaming Deus Ex: Mankind Divided on Linux at 5PM UTC on Thursday

Tags:Coming Soon,Feral Interactive,LivestreamThis Thursday at 5PM UTC, Feral Interactive will be livestreaming the Linux port of Deus Ex: Mankind…

'A Quiver of Crows', a twin-stick shooter set in a grim world has day-1 Linux support

Tags:Initial Thoughts,Action,Steam,Indie Game I've followed 'A Quiver of Crows' [Steam, Official Site] for a while waiting for the release of this…

SIEGE, a strategic single-player card game released for Linux

Tags:Card Game,Strategy,Steam,Indie Game SIEGE [Steam], a strategic single-player card game recently released for Linux. I love card-based combat…

Pharaonic, the side-scrolling RPG & action game is now available DRM free on GOG

Tags:Action,DRM Free,GOG,Indie Game Pharaonic [GOG, Official Site] the stylish and difficult side-scrolling RPG/Action title is now available DRM…

The isometric typing adventure 'Epistory: Typing Chronicles' is now available DRM-free on GOG

Tags:Action,Adventure,GOG,Indie Game The unique atmospheric adventure typing game Epistory - Typing Chronicles is now available DRM free on GOG. It…

'Discovering Colors - Animals', a cheap colouring game for kids

Tags:Educational,Indie Game,Steam Discovering Colors - Animals [Steam, Official Site] is a cheap kids game about colouring and it recently gained a…

Games to play on Linux this Halloween, my top choices

Tags:Editorial,HorrorSo Halloween is fast approaching, and you want to play something scary, here’s some good ones to try out. It’s tough…

'Sky Break', a single-player open-world action & adventure game now on Linux

Tags:Action,RPG,Adventure,Steam 'Sky Break' [Steam, Official Site] recently released and it's also available for Linux, it looks like a fantastic…

Trackless & Code 7, two next-gen text adventures currently being crowdfunded

Tags:Text Adventure,CrowdfundingRight now is a pretty exciting time for anybody who happens, like me, to be excited about the modern legacy of text…