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

Building better assistive technology with open hardware

 opensource.com: For many people, technology assists and augments our lives, making certain tasks easier, communicating across long distances possible, and giving us the opportunity to be more informed about the world around us.

Microsoft's Patent Allies LG and Sony Agree to Put Microsoft Inside Android

 techrights: LG and Sony (of Rockstar Consortium) follow Samsung and Dell in Microsoft's campaign to turn Android into 'Microsoft Android' using patents-induced pressure/leverage

11 pointless but awesome Linux terminal tricks

NetworkWorld: Some great Linux terminal tips and tricks, each one as pointless as it is awesome.

A Few Laps With Fedora 22

 FOSSforce: Many of the changes in Fedora 22 come in the Cloud and Server versions, though one change stands out across the board.

Ubuntu Community Council Can't Track Down $143,000 Worth of Donations

 softpedia: The Ubuntu Community Council has made a rather troublesome discovery regarding the accounting of $143,000 in donations.

MySQL Incremental Backup - Point In Time Backup and Recovery

 HowToForge: Mysql Incremental Backup is a complete incremental backup script for MyISAM and InnodB databases using the MySQL binary log so that the backup process does not affect running databases.

How to Secure an OpenStack Cloud

eWEEK: Providing security in OpenStack is not as easy as simply deploying a firewall and enabling antivirus. Many additional controls need to be deployed.

Private Linux cloud server costs $89, streams media too

 LinuxGizmos: An $89 peer-to-peer "Brease" private file server on Kickstarter features four USB 3.0 ports, a GbE port, 256-bit AES, mobile support, and media streaming.

Are Windows and OS X malware?

 ITworld: Richard Stallman has never been...er...shy about sharing his opinions, particularly when it comes to software that doesn't adhere to his vision.

GamingOnLinux.com Latest Articles

Demo Released For Choose-Your-Own-Adventure Mystery Game 'Jenny LeClue'

Jenny LeClue was funded on Kickstarter last summer. A playable teaser has now been made available, along with a new teaser trailer. This trailer…

Adventure RPGs Hero Of The Kingdom I & II Released On Steam For Linux

The quest and resource based adventure RPGs by developer Lonely Troops were both officially released for Linux this week and the first one is…

Steam Replaces The Linux Tux Logo With SteamOS

In an unsurprising move, Steam has replaced the Linux icon of "tux" with their own SteamOS icon. I completely understand why they did this, but it…

Co-op Gravity Platformer 'Ibb & Obb' Now Available On Steam For Linux

The cute but challenging co-op gravity platformer ibb & obb is out of beta and is one worth a look if you have a friend to play with. We wrote…

Audiosurf 2 Smashes Out Of Early Access, Available For Linux

Audiosurf 2 is the sequel to the smash hit music game Audiosurf, and as the name suggests you do literally surf the music. The sequel is available…

Dying Light Linux Performance Patch & New DLC Released

The day has arrived, not only do we have a new DLC for Dying Light, but the Linux performance patch I previewed for you has also been released! To…

The Funding Crowd 46

Welcome to the Palladium issue of The Funding Crowd! Yep, 46 appears to be a reasonably interesting number, apart from representing aforementioned…

Torment: Tides Of Numenera RPG Has A New Trailer

I love RPG games, so Torment: Tides of Numenera has me really excited! This new trailer is further extending my excitement, and it looks like I will…

Nightside RTS Updated With Multiplayer & The Start Of A Campaign

It’s no secret that I love the visual style of Nightside, and this new update has boosted the content rather a lot.Changelog:Quote- First 5…

Linux Test Build Available For Convoy, A Tactical Roguelike-like Inspired By Mad Max & FTL

I was immediately interested in Convoy when I originally heard about it, but was sad when there was no Linux support. The good news is they now have…

Point & Click Adventure Game 'Zak McKracken: Between Time And Space' Released For Linux

Seven years after the unofficial fan sequel to the 80s classic Zak McKracken and the Alien Mindbenders was released in German for Windows, a…

Interloper, A New Small Scale Real Time Strategy Released For Linux, It’s Good

Interloper is a small scale real time strategy that recently released for Linux, and it managed to capture my interest for being a bit different. The…

Massive New Planetary Annihilation Test Build Available, Also On Sale

Uber Entertainment have been busy, and their work has shown in their latest public test build. It includes lots of new AI fixes and behaviours, as…

Classic Platformers Prehistorik 1 & 2 Released On GOG For Linux

GOG have done it again folks, Prehistorik 1 & 2 which are both games from my childhood have been published on GOG and both support Linux. I've…

Dying Light: The Bozak Horde DLC Releases On May 26th

Dying Light is to gain its first big DLC with The Bozak Horde, it looks like a wave-based survival challenge, so it's not the most exciting of DLC,…