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

Articles found under tag: tutorial

How to manage alternating lines of text on the command line

By

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

By

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

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

News Elsewhere

Linuxtoday.com

WineTricks has seen a massive amount of improvements this year

Winetricks is an easy way to work around problems in Wine.

How to install KVM on Ubuntu 16.04 LTS Headless Server

 Nixcraft: How can I install KVM with bridged networking, setup guest operating system as the back-end virtualization technology for non-graphic Ubuntu Linux 16.04 LTS server?

Emma A LightWeight Database Management Tool For Linux

 For database management, there is a very popular tool called, MySQL Workbench.

Linux 4.8 rc4

Linus Torvalds: Everything looks normal, and it's been a bit quieter than rc3 too, so hopefully we're well into the "it's calming down" phase.

Antergos installation guide with screenshots

A step by step Antergos installation guide with screenshots.

SFC's Kuhn in firing line as Linus Torvalds takes aim

A few days after he mused that there had been no reason for him to blow his stack, Linux creator Linus Torvalds has directed a blast at the Software Freedom Conservancy

High-end music player has a Raspberry Pi inside

Bryston has launched a high-end, compact "BDP-??" digital music player built on the Raspberry Pi running Raspbian, along with a HifiBerry "Digi+" audio HAT add-on.

How Google Does Open Source

Google is a leading contributor to open source today, but the search giant doesn't like all open source licenses.

LinuxConsole 2.5 Gaming Distro Out Now with Minecraft, SuperTux, and Many Games

 LinuxConsole ships with modern GNU/Linux technologies and open source software/games, as well as with both the LXDE and MATE desktop environments.

GamingOnLinux.com Latest Articles

In Case of Emergency, Release Raptor has been cancelled and refunds are being offered

Tags:Early Access,Editorial,Steam Well I didn't see this coming at all, I got told in our IRC moments ago that In Case of Emergency, Release Raptor…

Editorial: I ditched SteamOS in favour of a normal Linux distribution for my gaming

Tags:SteamOS,EditorialI have been debating whether to write this up for a while, but here I am. I have completely ditched SteamOS in favour of Ubuntu…

Agenda, control an organization trying to take over the world in this strategy game

Tags:Coming Soon,Simulation,Steam,StrategyAgenda is a rather cool sounding strategy game where you're trying to take over the world. It's due to…

Sunless Sea expansion Zubmariner releases on October 11th with Linux support

Tags:Survival,Steam,GOG,DLC,Coming SoonSunless Sea is about to get bigger, as Zubmariner has been confirmed for release on October 11th with Linux…

Heart&Slash is another new release that's sadly broken on Linux

Tags:Steam,Adventure,ActionHeart&Slash is a very cool looking action and adventure game, but sadly I can't even tell you if it's any good as it…

The Girl and the Robot, a third-person action adventure game released for Linux, sadly buggy

Tags:Action,Adventure,Initial Thoughts,SteamA brand new third-person action adventure game is now available on Linux. Some of the people who made The…

Stellaris 1.3 patch 'Heinlein' will overhaul Fallen Empires in an awesome way, also new DLC info

Tags:Strategy,Steam,DLC,Coming SoonStellaris 1.3 code-named 'Heinlein' is shaping up to be a pretty big update, and they are re-working Fallen…

Speculation: It's looking like Rocket League may finally arrive on Linux in September

Tags:Sports,Editorial,Coming SoonRocket League is way overdue, we all know that, but honestly I am fully expecting it to arrive with the patch due in…

There are a couple of excellent games for only 1 USD at Bundle Stars, not long left to grab them

Tags:Game SaleBundle Stars is having another interesting sale, where several games can be purchased for only 1 USD (70-80p). Since not all of them…

The Curious Expedition to release in full on September 2nd with Linux support

Tags:Steam,Simulation,RoguelikeThe Curious Expedition is a roguelike expedition simulation set in the late 19th century, it is soon to leave Early…

Atom Zombie Smasher is being updated, Linux version to finally come to Steam

Tags:Zombies,Strategy,Steam,Indie Game,Coming SoonAtom Zombie Smasher came to Linux a long time ago, but the Linux version never did make it to…

Travel a dying world in The Final Station, Linux version confirmed

Tags:Action,Coming Soon,Indie Game,Simulation,Steam,SurvivalI love indie games, as they tend to do gameplay larger studios won't touch. The Final…

Fossil Echo, a story-driven, short and great looking platformer is still coming to Linux

Tags:Coming Soon,Platformer,SteamI really love the visuals in Fossil Echo! Sadly it wasn't a day-1 release, but the developers have stated that…

State of Mind, a fantastic looking futuristic thriller game built with Unreal Engine that's coming to Linux

Tags:Unreal Engine,Steam,Coming Soon,AdventureState of Mind was pointed out in the GOL IRC (thanks qptain_Nemo!) and wow, this looks quite…

The Wine Stable Release 1.8.4 Is Now Available

Tags:Open Source,Wine The Wine team released today fifth stable release of 1.8 branch of Wine. Version 1.8.4 has many small changes including 50…