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

How to Install and Use Apache Libcloud on Ubuntu 16.04

Apache Libcloud brings interoperability among different cloud setups/providers.

Docker Expands Container Networking Capabilities

EnterpriseNetworkingPlanet: At the core of Docker's networking capabilities is the libnetwork stack, which first debuted in the Docker 1.7 release in June 2015 and became fully integrated in the Docker 1.9 update

Red Hat Reiterates Support for Java EE With New Release

EnterpriseAppsToday: Red Hat announces new products and tools for Java EE and Microsoft .NET at developer event.

Let Attic Deduplicate and Store your Backups

Data loss is one of those things we never want to worry about

Python gains functional programming syntax via Coconut

InfoWorld: The new language compiles directly to standard Python, so apps don't need a new interpreter to run

Why Container Skills Aren't a Priority in Hiring Open Source Pros (Yet)

Linux.com: One skillset that employers have not found as useful as professionals is container management.

How To Setup OpenVPN Server In 5 Minutes on Ubuntu Server

 Nixcraft: OpenVPN is a full-featured SSL VPN (virtual private network). It implements OSI layer 2 or 3 secure network extension using the SSL/TLS protocol.

antiX 16 "Berta Cceres" Linux OS Arrives without systemd, Based on Debian 8.5

antiX 16 is one of the few distros that ship without the modern systemd init system, nor systemd-shim

How to Use Sagator, an Antivirus/Antispam Gateway to Protect Your Mail Server

Sagator is an antivirus/anti-spam gateway for Linux mail servers written in Python

GamingOnLinux.com Latest Articles

Go on a fishing adventure in Marinatide, on Steam Greenlight and coming to Linux

Tags:Adventure,Greenlight,Indie Game,SteamMarinatide looks like a pretty cute little fishing game and the developers emailed me to confirm it will be…

Legacy of the Elder Star shoot 'em up released on Steam for Linux

Tags:Action,Indie Game,Initial Thoughts,SteamLegacy of the Elder Star is a new indie shoot 'em up recently released on Steam with Linux support, the…

Company of Heroes 2 updated for Linux, adds support for the War Spoils system and fixes other bits

Tags:Feral Interactive,Steam,StrategyCompany of Heroes 2 has received a patch today, it should fix the issue with it looking like you gain no…

Key reselling store G2A to make some small steps towards helping developers

Tags:EditorialYou may remember the article I wrote recently about asking you not to use G2A, well it appears G2A are now taking some first steps…

Game store itch is also having a summer sale

Tags:Itch.io,Game SaleNot to be outdone by Steam and because I support the little guy, why not check out some cool games for sale on itch.io? You can…

Factorio 0.13 released, the changelog is massive, much improved networking too

Tags:DRM Free,Humble Store,Sandbox,Steam,StrategyFactorio is an absolute gem of a sandbox game and I love it. It's another game I'm terrible scared…

AMD will be hosting a reddit 'ask me anything' and giving away 14 RX 480 graphics cards

Tags:AMD,EditorialAMD are doing something pretty amazing, they will be doing a reddit AMA with the chance of anyone who comments to win one of…

Stellaris patch Asimov 1.2 released, it's a good one

Tags:Strategy,Steam I've been scared to click that play button on Stellaris recently, as it sucks up so much time it's crazy. The patch named Asimov…

Dolphin, the Gamecube and Wii emulator is working on a Vulkan backend

Tags:Emulation,Open SourceI love emulators, I think they are a fantastic way to keep old platforms alive. Even with the grey area around roms I think…

Anima Gate of Memories, the good looking third person action RPG should be on Linux soon

Tags:Action,Coming Soon,RPG,Steam The developer of Anima Gate of Memories has stated that they expect the Linux version to be out in around 15 days…

Deep Silver confirm Homefront: The Revolution is still in the works for Linux

Tags:Action,Coming Soon,FPS,SteamGood news for FPS fans as Deep Silver have confirmed again that Homefront: The Revolution is still in the works for…

Desktop Environments have been added to the user statistics graphs

Tags:Survey,Site InfoIf you would be so kind as to update your PC Info once again, there is now a Desktop Environment picker as requested.The place…

Announcing the GamingOnLinux wallpaper competition

Tags:CompetitionI need a new wallpaper, and I would very much like one that in some way has GamingOnLinux branding on it. Here's your chance to shine…

The Wine Development Release 1.9.13 Is Now Available

Tags:Wine,Open Source,Beta The Wine team released today another development release of their software. Version 1.9.13 has many small changes…

FORCED SHOWDOWN now available on Linux & SteamOS

Tags:Steam,RPG,ActionThe developers of FORCED SHOWDOWN have emailed in to let us know that the deck building action twin-stick game is now available…