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

Digital education presents new challenges and opportunities for IT

 EnterprisersProject: CIOs and IT leaders can and should lead digital education within their organization, but they need to bring more to the table than their IT skills alone.

New guides and tips for OpenStack

 opensource.com: Looking to learn something about OpenStack?

Two Factor Authentication for ownCloud

 HowToForge: This tutorial shows you how to protect ownCloud logins with two factor authentication by using privacyIDEA to manage the second authentication factor.

Limit Your Linux Super Powers With su & sudo

 FOSSforce: First, you might be thinking, I'm an administrative user. Administration is my daily job. I should just be root.? Well, um, no.

Jdrivesync: your Google Drive synchronisation client for Linux

 dark duck: Grive was a solution for many.

Will Red Hat Enter the Security Market?

VIDEO: Red Hat CEO Jim Whitehurst discusses the role that security plays at the Linux vendor and whether it's a business he plans on entering with a new product.

Mageia 5 Linux Distro Offers New Tools, Improved Stability

eWEEK: The Mageia 5 Linux distribution, which launched June 19, provides new tools, improved stability and overall ease of use.

Amazon introduces new open-source TLS implementation 's2n'

 ZDnet: s2n, with its mere 6,000 lines of code, focuses only on encryption.

Happy Canada Day! 21 Canadians in open source to follow

 opensource.com: Happy Canada Day to our neighbors to the north! In honor of your special day, we've rounded up a list of Canadians in open source to follow on Twitter.

GamingOnLinux.com Latest Articles

ARK: Survival Evolved Released For Linux, Here's An Early Look & Thoughts

We have been waiting with a keen eye for ARK: Survival Evolved to arrive on Linux. It’s a very popular survival game with dinosaurs that is…

NEON STRUCT Stealth Game Shows Promising Linux Sales

The developer of NEON STRUCT the stealth game from Minor Key Games (Eldritch, You Have to Win the Game, Super Win the Game) has posted stats of their…

DiRT Showdown Looks Like It's Getting A Linux Release

DiRT Showdown is a highly rated racing game that looks like it's close to a Linux release, exciting times for racing fans! We don't have many racing…

3D Sandbox Puzzler 'Infinifactory' Officially Released For Linux

The sandbox factory puzzler by SpaceChem and TIS-100 developer Zachtronics has left Early Access after five months of tweaks and bug fixing.…

The Last Dogma, A Dark Comedy Exploration Adventure Is Now Available On Steam For Linux

The Last Dogma is now available on Steam for purchase:http://store.steampowered.com/app/374510 It got a massive 1.3 update and features a SteamOS…

Portal Stories: Mel, A Free Standalone Portal 2 Mod Released On Steam

A free standalone(-ish, I'll talk about that a bit later) Portal 2 mod called Portal Stories: Mel has been released on Steam. So those who want more…

Tabletop Simulator Review - My Thoughts On Rolling Digital Dice

“What's the deal with all these simulator games?” Stand up jokes aside, I often catch myself asking some variant of that question…

Unity Editor For Linux In Progress, Experimental Build Could Come Soon

It was heavily requested, and a Unity developer has written a blog post giving us a lot more insight into what’s going on.QuoteAt Unite Europe…

Pillars Of Eternity 2.0 & Expansions Announced, Looking Great

Pillars Of Eternity looks to be solving issues I had with it, and then some with the 2.0 release and expansion. First of all, here's a look at the…

SMACH Zero, A SteamOS Handheld Official Specifications Revealed

SMACH Zero previously known as the SteamBoy has revealed the specifications it should be releasing with. I am still extremely sceptical that it will…

Arcade Brawler 'Kung Fury: Street Rage' Available On Steam For Linux

Street Rage is the video game tie-in to the 80s style action comedy flick Kung Fury, which was funded on Kickstarter last year. The movie is an over…

Distance Is The Racing Game I Never Knew I Wanted On Linux, Some Thoughts & Video

Distance is a beautiful neon survival racer that I finally had a chance to play, and what I found really did surprise me.About the game (Official)…

Gameplay Trailer Released For Upcoming Co-Op Platformer Shift Happens

Shift Happens is a co-op platformer in development built around the concept of shifting mass between two player characters, and it promises a…

Developer Of Limit Theory Has Returned After Months Of Silence

Some of you might remember this open, procedurally generated space exploration / exploitation game that was kickstarted in late 2012. The project has…

Oil Enterprise Strategy Game In Early Access For Linux Gamers

Oil Enterprise is a business simulation that has been available in steam Early Access for about a month and it has been available for Linux from…