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

Articles found in "Tutorials" category:

I think I like backreferences (sometimes)

By

Backreferences are part of the complicated and sometimes confusing world of regular expressions. The basic idea is this: you can substitute any part of a regular expression with a backslash followed by a number, so long as you surround the part to be substituted with round brackets. The command…

Read Article

Keeping emails as text files: 2 scripts

By

Most people store and organise their personal emails as individual files (messages) in folders. Those folders might be on a webmail company's servers, or in a mail client program on the user's personal computer. In both cases the emails are probably in a special email format. I'm horribly…

Read Article

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

Scripting a fancy chooser for recently used files

By

I recently scripted a GUI dialog that lists my 10 most recently modified files in reverse chronological order and allows me to choose more than 1 file for opening. The dialog is launched with a keyboard shortcut and is shown here with 2 files selected: The script is in copy-and-paste form at the…

Read Article

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

News Elsewhere

Linuxtoday.com

How to disable MAC learning in a Linux bridge

 xmodulo: An Ethernet bridge is a network component which interconnects multiple Ethernet networks by forwarding packets from one network to another

OpenStack Security Project Continues to Help Secure the Cloud

eWEEK: The leader of the OpenStack Security Project details technologies and processes now in place to help build, configure and deploy the cloud securely.

GNOME Builder 3.20.2 Arrives with LLVM 3.8, FreeBSD and OpenBSD Support

GNOME Builder 3.20.2 is the second stable update for the GNOME 3.20 desktop environment and includes quite some changes

Nautilus 3.20.1 File Manager Out Now, Lets Users Move Items to Network Locations

Among the changes implemented in Nautilus 3.20.1, we can notice that the dialogs have been made more modal

DuckDuckGo Wants Answers to Linux Questions

The search engine that works to protect your privacy is looking for some Linux "Instant Answers" for programmers.

Fedora 24 Linux's Launch Will be Delayed by a Week, the OS Arrives on June 14

 softpedia: Well, folks, the unfortunate has happened as Fedora Linux is known to get many delays during its development cycle.

Oracle Releases VirtualBox 5.0.20 with Fixes for Linux Kernel 4.5, Small Changes

Oracle VirtualBox 5.0.20 is a pretty small release that comes only one and a half weeks after the previous maintenance build

The Best Windows 10 Commercial Ever

 FOSSforce: We warned them that something like this was bound to happen sooner or later.

How To Install Linux Mint Alongside Windows 10

This guide shows how to dual boot Linux Mint and Windows 10 and includes all the usual steps such as backing up your computer, creating a USB drive, partitioning and installing Mint.

GamingOnLinux.com Latest Articles

Check out this new Shadow Warrior 2 gameplay video, coming to Linux & SteamOS

Tags:Action,Coming Soon,FPS,GOG,Steam,VideoShadow Warrior 2 is certainly looking great, and this new video has nailed the need for me to own it when…

Tomb Raider tested on R7 370 4G and HD 7970

Tags:AMD,BenchmarkIt was a nice surprise to see Tomb Raider officially supporting AMD hardware. Of course, the level of that support now has to be…

Tomb Raider released for Linux, thoughts & port report included, the first Linux game to use TressFX

Tags:Steam,Review,Feral Interactive,Adventure,Action Feral Interactive have done it again! Tomb Raider is now officially available for Linux, and I…

The Culling, the Unreal Engine 4 battle royale survival game is now on Linux & SteamOS

Tags:Action,Steam,Survival,Unreal EngineThe Culling is the rather good looking battle royale survival game we mentioned only recently and it's now…

Tomb Raider for Linux & SteamOS confirmed for release today!

Tags:Action,Adventure,Feral Interactive,SteamHold onto your pants, as you're in for a wild ride! Tomb Raider is officially launching on Linux &…

Get ready for another GOL vs Feral Interactive battle today at 10am UTC

Tags:Feral Interactive,LivestreamI will once again be facing off against Matt from Feral Interactive in Company of Heroes 2, all of it as usual…

Humble Bundle adds OlliOlli2: Welcome to Olliwood & Noct to the current bundle, both Linux supported

Tags:Game Bundle,Game SaleHumble has put out two more games with Linux support into the Humble Devolver Bundle, now it makes this already great…

Helicopter combat sim 'Heliborne' has a Linux beta available

Tags:Action,Early Access,Indie Game,SteamA reader sent in that Heliborne, a combat sim where you pilot an assortment of different helicopters has a…

Darkest Dungeon officially released for Linux & SteamOS

Tags:Strategy,Steam,Roguelike,RPG Today is the day we get another popular game! Darkest Dungeon is now officially available on Linux, ported by Aaron…

Playing with food: thoughts on Stephen's Sausage Roll

Tags:Review,Puzzle,Humble Store,DRM FreeThe newest game from the developer of English Country Tune is now out. After a few days of playing and…

Shock Tactics looks like it mixes Civilization with XCOM, can't wait to play it on Linux

Tags:Coming Soon,StrategyWell now, Shock Tactics was emailed in by a reader and it has to be one of the most interesting games I've seen recently. It…

A bunch of BIT.TRIP games just had the DRM free treatment on GOG with Linux support

Tags:DRM Free,GOG Good news for you today GOG fans! BIT.TRIP Runner, BIT.TRIP PRESENTS... RUNNER2: FUTURE LEGEND OF RHYTHM ALIEN and BIT.TRIP BEAT…

Wayward, an Early Access turn-based, top-down, wilderness survival roguelike now available

Tags:Survival,Steam,Roguelike,RPG,Early AccessI've watched Wayward change and grow for years now (first wrote about it in 2013!) and it finally has a…

Star Ruler 2 has a big update and a new DLC, some thoughts

Tags:Strategy,Steam,Initial Thoughts,Indie Game It has been quite some time since I took a look at Star Ruler 2, so it's time to take another look…

Lionsgate and Steam team up to offer over 100 films on Steam

Tags:Steam,SteamOSPretty awesome news, Lionsgate and Steam are teaming up to offer over 100 of their titles like Hunger Games, Twilight and…