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

Articles found in "Tutorials" category:

How to use flags in AWK

By

Flags in AWK are variables which are set to either true or false. They're handy for defining ranges over which AWK can act, as shown below. The AWK used here is GNU AWK 4.1.1 (gawk 4). Sometimes flags aren't needed I'll demonstrate with a simple text file called demo, which has 6 lines with 3…

Read Article

Proofreading for illusions with grep and AWK

By

Lexical illusions are very hard to find when proofreading. The most common lexical illusion is a duplicated word, as in this well-known example: A lexical illusion: many people are not aware that the the brain will automatically ignore a second instance of the word 'the' when it starts a new line. …

Read Article

Transposing rows and columns: 3 methods

By

Swapping the rows and columns in a table on the command line would seem to be a fairly easy thing to do. For example, with this tab-separated table (called 'tabbed') as input: get this tab-separated table ('swapped') as output: Datamash Transposing rows and columns is indeed easy if you have the…

Read Article

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

News Elsewhere

Linuxtoday.com

Install Bludit on Ubuntu 16.04

Bludit is an open source, fast, simple, and extensible file-based content management system (CMS) application written in PHP.

Ubuntu 16.10 "Yakkety Yak" Alpha 2 Released

Phoronix: The second alpha release for Ubuntu 16.10 "Yakkety Yak" flavors is now out.

Red Hat Satellite 6.2 Adds Docker Deployment

ServerWatch: Red Hat today announced its Satellite 6.2 update, providing users with new capabilities for Red Hat server management.

I've been Linuxing since before you were born

Carla Schroder shares tales from when using Linux was a long hike uphill both ways in the snow. Barefoot.

How to perform a system upgrade with DNF

Learn how to use the new dnf system-upgrade capabilities in Fedora to make your Linux upgrade process smooth and easy.

How to donate CPU/GPU resources to science with Boinc

 HowToForge: Altruism is one thing that I'd like to believe characterizes all Linux users out there.

Access Blocked Websites In Censored Regions With Lantern

webupd8: Lantern is a free, open source internet censorship circumvention software

Parrot Security OS : A Debian Based Distro for Penetration Testing, Hacking and Anonymity

Parrot Security operating system is a Debian-based Linux distribution built by Frozenbox Network for cloud oriented penetration testing.

Stagefright Poses Serious Risks 1 Year After It First Surfaced

eWEEK: One year after the Stagefright Android flaw was first reported, its effects are widespread. More than 100 related flaws have emerged and millions of users remain at risk.

GamingOnLinux.com Latest Articles

IndieDB is having another 24 hour giveaway with Linux support, the indie platformer 'Prison Run and Gun'

Tags:Steam,Platformer,Free GameIndieDB is currently giving away 20 free Steam keys for this small platformer game. It's a standalone expansion to a…

Day of Infamy FPS now available on Linux & SteamOS (updated)

Tags:Steam,FPS,Early Access,Coming Soon,ActionUpdate: Just tested myself after a report and it is downloadable and playable right now! It is a little…

Kingdom Rush Frontiers due on Linux in the last week of August

Tags:Coming Soon,Steam,Strategy,Tower DefenceTower Defence fans rejoice as Kingdom Rush Frontiers is scheduled with the 1.1 updated due in the last…

Albion Online final beta start times revealed

Tags:Indie Game,MMO The indie MMO Albion Online is due to have the final beta version and they have revealed when each supporter will get access. …

Check out 'The Linux Gamer' video on Undertale, brilliant as always

Tags:VideoReally do love The Linux Gamer, his work is top quality and he has done his thing for the Linux version of Undertale. As usual, it's very…

Unity game engine 5.4 released, Linux builds now updated

Tags:Game Engine,Unity3DThe Unity game engine has release the next major version 5.4, the Linux builds have also just been updated to the 5.4…

Livestream tonight at 19:45 UTC instead of tomorrow!

Tags:LivestreamTonight I will be doing the weekly livestream as I am busy with pre-birthday stuff tomorrow (I turn 28 on Saturday) and my voice is…

Move or Die: a funny 4 player local and online party game!

Tags:Indie Game,Action Move or Die is an incredible, funny and fast paced party game with a lot of mods and funny mutators. You can play local or…

Headlander, the new game from Double Fine Productions will not come to Linux

Tags:Editorial,Steam This is very sad to see from a previously very Linux friendly developer. Headlander from Double Fine Productions will not come…

New version of the itch store app released, as slick as ever

Tags:Itch.io,Open SourceThe itch developers have been hard at work making their open source store app even better for you, and it's lovely. You can…

God is a Cube: Nanomachines Rising, a programming puzzle game is coming to Linux

Tags:Puzzle,Indie Game,Coming SoonGod is a Cube: Nanomachines Rising sounds pretty fun for anyone who likes programming, puzzles and robotics. You…

Empire TV Tycoon, thoughts from a Linux gamer

Tags:Strategy,Simulation,Review It has been a while as other things kept coming up, but I finally take a look at Empire TV Tycoon. I love Tycoon…

Microsoft gives the okay for SWORDY to come to Linux & SteamOS

Tags:Action,Casual,Coming Soon,Early Access,Steam Some good news! SWORDY has been given the green light to come to Linux & SteamOS by Microsoft,…

HaxeFlixel, a free and open source cross-platform game framework needs funds on IndieGoGo

Tags:Crowdfunding,Open SourceHaxeFlixel, a free and open source cross-platform game framework that was used in the creation of Defender's Quest is…

Mojang working on new launcher for Minecraft, Linux might not see support

Tags:Sandbox,Editorial For those still playing Minecraft, you may know that Mojang is working on a new launcher that doesn't use Java (hooray!), but…