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

Here's a Sneak Peek at What's Coming in the Solus 1.1 Linux Operating System

Solus 1.1 is on the verge of being one of the most awaited GNU/Linux operating system of Spring 2016

Git 2.7 Gets Its First Point Release, Adds over 20 Optimizations and Fixes

Git 2.7.1 is here to further improve the stability and performance of the software used by millions of developers worldwide

Parsing a Git Patch with Bash

 FreedomPenguin: I probably could have done this in perl and it would have been much faster

How to set up Apt caching server on Ubuntu or Debian

 Xmodulo: If you often create guest VMs or containers on your Linux computer, you will go through package installation many times across different VMs/containers.

Schedule your social media marketing with CampaignChain

LinuxUser&Developer: CampaignChain, an open source tool for social media marketing, makes every campaign easier

A Significant Fork of CloudStack is Making Waves

ostatic: It's official There is now a significant fork of the CloudStack cloud computing platform.

Linux 4.5 rc3

Linus Torvalds: It's Sunday afternoon, and everything is normal. And that means that there's a new rc release right on time.

NVIDIA GeForce GT 710: Trying NVIDIA's Newest Sub-$50 GPU On Linux

Phoronix: This really isn't a graphics card for gamers or anyone needing any serious GPU performance but rather as an upgrade for an entry-level system

Ubuntu 16.04 LTS Will Ship An Older Version Of Nautilus

OMG Ubuntu: Just don't say it's 'cos the new one sucks

GamingOnLinux.com Latest Articles

Multiplayer indie action game 'Super Snow Fight' may get a Linux version if there is enough demand

Tags:Action,Indie Game A developer of Super Snow Fight, a multiplayer action indie game, claims in its Steam discussion forum that if they receive…

GPUOpen has launched, AMD open up more to the community

Tags:Toolkit,Editorial,AMDSorry for the lateness, but GPUOpen from AMD is now officially open to the public. I really like the way AMD is going doing…

XCOM 2 is so popular it has beaten the all time peak player count of a number of games

Tags:Editorial,Feral Interactive,Steam,Strategy This is awesome to see. XCOM 2 has beaten the all time peak player counter of some pretty high…

Gas Guzzlers Extreme looks like it is going to come to Linux, porting starts soon

Tags:Action,Coming Soon,Racing,SteamGas Guzzlers Extreme has an interesting history, but it looks like the developers are once again trying to bring…

Valve rep mentions they will eventually survey Big Picture & SteamOS

Tags:EditorialCurrently Steam Big Picture mode and SteamOS don't get a hardware survey, so even if millions of people pick up a Steam Machine we…

Dying Light's online modes get bigger with The Following, hopefully they actually fix it for Linux

Tags:DLC,Steam,ZombiesI do love the single player in Dying Light, and I am very much looking forward to Dying Light Enhanced Edition and The…

Ghost Theory, a unique horror game that also supports Linux, is now on Kickstarter!

Tags:Press Release,Horror,Crowdfunding,AdventureDreadlocks Ltd, indie game development studio responsible for last year's 2D cyberpunk RPG Dex,…

The final results of the Linux GRID Autosport tournament

Tags:Editorial Now that the braking-dust has settled a bit, I thought I should do a little write-up on the first official GOL Grid Autosport…

Shadowrun: Hong Kong gets free Extended Edition update

Tags:DRM Free,GOG,RPG,SteamThe latest in the line of cyberpunk RPGs by Harebrained Schemes gets a really beefy update available to all players for…

Don't Starve: Shipwrecked DLC is now available on SteamOS & Linux

Tags:DLC,Early Access,Steam,Survival Heads up survivalists! Don't Starve: Shipwrecked the good looking new DLC for the single player version of Don't…

Croteam confirm The Talos Principle will be their first Vulkan title

Tags:Vulkan,Puzzle,Coming SoonCroteam are aware of the excitement and general interest in their titles running on Vulkan, and they have confirmed it…

Friday Livestream commencing at 6 PM UTC, Commander

Tags:Site InfoIt likely doesn't come to you as a surprise that I am going to be playing XCOM 2 on the Friday Livestream. It's the biggest game that…

XCOM 2 tested on R7 370 with Crimson and RadeonSI

Tags:AMD,BenchmarkYou have seen Liam's port report of XCOM 2 on Nvidia hardware and it's time for me to take a look at the AMD performance. So, let's…

XCOM 2 released for SteamOS & Linux, port report included

Tags:Unreal Engine,Strategy,Steam,Feral InteractiveOh baby, here we go. Thanks to Feral Interactive, XCOM 2 has been officially released today for…

Killing Floor 2 still planned for SteamOS & Linux, lacking the manpower for it right now

Tags:Zombies,Steam,FPS,Coming Soon,Action We finally have something other than silence from Tripwire about Killing Floor 2, and the news isn't great…