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

Articles found in "Tutorials" category:

Gnumeric: a filter-and-export script

By

My wife likes to organise and store information in Gnumeric spreadsheets. Every now and then she needs to filter her data and save the result to a new spreadsheet. Gnumeric doesn't have a simple way to do that. It has a complicated way to do it ('Advanced Filter'), but nothing so straightforward as…

Read Article

How to insert code snippets on the command line without executing them

By

You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the…

Read Article

How to read a file N lines at a time in BASH: 3 methods

By

The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

Linux, HP and the avoidance of Windows

By

Having a TL;DR day? In a nutshell, I just replaced a 2011 HP Mini netbook with a 2014 HP mini-notebook. Both run Linux. Thank you, HP. The netbook I bought a 2011 HP Mini 110-3744TU in early 2012 (specs below). It came with Windows 7 'starter', which I replaced with CrunchBang Linux. The Mini is…

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

News Elsewhere

Linuxtoday.com

What's new in Mageia 5

The main spotlight of Mageia 5 is the support of UEFI systems.

Does the Chrome web store suck?

 ITworld: Are there serious problems with the Chrome web store itself?

An Everyday Linux User Review Of Android x86

 EveryDayLinuxUser: In this review of Android x86 I have tried to work out whether Android really can ever work on a normal laptop

Will an upgrade to Windows 10 on a dual-boot system mess GRUB up?

 LinuxBSDos: This short post is for those running a system on which Windows 7 or 8 (or 8.1) is installed in dual-boot fashion with one or more Linux distributions.

Carrier adds Arduino and MCU hooks to Zynq ARM/FPGA COM

LinuxGizmos: Avnet released a carrier board for its Linux-driven, FPGA-enabled MicroZed COMs featuring an Arduino shield interface and hooks to an optional MCU board.

How To Test LaTeXila 3.17.0 on Ubuntu Linux

 LinuxPitStop: LaTeXila is an editor for GNOME desktop environment, it is an open source application and lets you compile, convert and view documents on GNOME desktop.

Complete solution for online privacy with own private SSH, VPN and VNC server

 blackmoreops: The best possible solution for this situation is to set up a private SSH and VPN server on your home network and use them when you are out on the road or oversea

Linux 4.2 May Finish Fixing Up Radeon Audio Support

Phoronix: Since the Linux 4.0 kernel there has been DisplayPort audio support for the open-source Radeon driver.

GamingOnLinux.com Latest Articles

Middle-earth: Shadow Of Mordor Released For Linux, We Love You Feral Interactive

Feral Interactive have released an absolute whopper—Middle-earth: Shadow of Mordor is now actually available for Linux. This is a seriously…

Dying Light Reveals Upcoming Content In A New Teaser

I do love Dying Light (apart from the ending), and it looks like it will get a fresh coat of paint soon with new content. The trailer shows off some…

Retro City Rampage DX Parody Game Released For Linux, Some Thoughts On This Nostalgia Trip

Retro City Rampage is a bit of a love letter to the 80's and 90's gaming, and it just had a surprise Linux release. Retro City Rampage is a bit of a…

Q.U.B.E: Director's Cut, A Brain-twisting First Person Puzzler Is Being Ported To Linux

Q.U.B.E: Director's Cut is an excellent looking first person puzzle game, and the developer has confirmed Linux & Mac ports are currently in…

Retro-Pixel Castles, A Hybrid Godlike Village Simulator Thoughts & Key Giveaway

I’ve been keeping an eye on Retro-Pixel Castles for a while, and I decided to let it mature a bit. I’ve now given it some thoughts, and I…

Feral Interactive Have Something Up Their Sleeve For Tomorrow

Tomorrow isn't just my birthday, it's also the day Feral Interactive seem to have something "special" planned for Linux & Mac gamers.Hi Mac…

Psychological Horror Adventure Game 'Fran Bow' To Release Next Month, Has New Trailer

Fran Bow is a creepy point-and-click adventure game about a young girl, who has witnessed the brutal murders of her parents and is sent off to a…

Skullgirls Now In Closed Beta For Linux, Here Are My Thoughts & A Video

I am no stranger to fighting games, and I have been excited to get my hands on Skullgirls! I am lucky enough to be in the closed beta for the Linux…

The Wine Development Release 1.7.48 Is Now Available

Wine team released today another development release of their software. Version 1.7.48 have many small changes including 39 bugfixes. A new issue of…

GOL Cast: Saving Humanity In Nomad Fleet

Nomad Fleet developed by Autarca is a one-man indie strategy game that combines elements from FTL, Homeworld and even Battlestar Galactica into a…

Some Thoughts On Terraria Now It Has A Beta For Linux

Now that Terraria has been released, and I’ve had some time to put into it, here’s my thoughts on this new Linux game. It’s been a…

Bound By Flame RPG May Get A Linux Version

Thanks to SteamDB it seems that Bound By Flame a graphically pleasing RPG may get a Linux version. It has mixed reviews, but it may be worth a look.…

Shadowrun: Hong Kong RPG Arrives On August 20th For Linux

Shadowrun: Hong Kong now has a release date, and it's not far off at all. The game will release on the 20th of August! The good thing is you don't…

The Raven - Legacy Of A Master Thief Now Available On GOG For Linux

The Raven - Legacy of a Master Thief is reasonably well rated crime adventure game, and GOG have now published it in their DRM free library. I've…

Super Dungeon Run, Guiding Hapless Heroes Through A Dungeon On Linux, Some Thoughts

Super Dungeon Run recently released on Steam for Linux in Early Access, and the gameplay sounded interesting so I gave it a run or two.About the game…