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

Articles found in "Tutorials" category:

Finding unmatched braces (brackets)

By

Recently I was checking for unmatched braces in a big text file with nearly half a million lines (300+ MB). Was there a closing brace for every opening brace? The text file was called 'beetle' and was actually a tab-separated table with each line divided into 77 fields. What I wanted to do was find…

Read Article

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

Installing Firestorm (Second Life viewer) for Linux

By

Unless you've lived under a virtual rock since 2003, you have probably heard of Linden Lab's baby, Second Life at some point. The online virtual world, where you can literally pretty much do anything, might not be at the peak popularity it once experienced but there is still plenty going on. If…

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

News Elsewhere

Linuxtoday.com

TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop

2DayGeek: TLP is a free opensource advanced power management tool that improve your battery life without making any configuration change.

Using PPA in Ubuntu Linux [Complete Guide]

 itsFOSS: An in-depth article that covers almost all the questions around using PPA in Ubuntu and other Linux distributions.

10 Best Native Linux Games

LinuxConfig: Whether you want something free to play or you're looking for invest in a long term favorite, there are plenty of amazing options on Linux.

Vivaldi 2.2 Introduces Picture-in-Picture, Smarter Tab Management and Navigation

The Vivaldi 2.2 update introduces even more goodies to make you consider Vivaldi as your default web browser

How to install Redis on a Raspberry Pi using Docker

Using Docker enables us to install the latest releases of Redis long before they are available in the Raspbian package repository.

5 resolutions for open source project maintainers

No matter how you say it, good communication is essential to strong open source communities.

Top 5 configuration management tools

Learn about configuration management tools and figure out which will work best for your DevOps organization.

Patch into The Matrix at the Linux command line

Recreate the classic look and feel of everyone's favorite 1990s sci-fi movie code scroller with cmatrix.

FreeBSD 12 released: Here is how to upgrade FreeBSD 11 to 12.

Nixcraft: The 12th version of the FreeBSD has been released, bringing updated software hardware support.

GamingOnLinux Latest Articles

Preview: Jupiter Hell, the modern roguelike and spiritual successor to DRL (Doom the roguelike)

Tags: Preview, Video, Steam, Indie Game, RoguelikeJupiter Hell is a roguelike I'm following with great excitement, it's serving a the spiritual…

The Tyranids are coming to Warhammer 40,000: Gladius in January

Tags: DLC, Strategy, Coming Soon, GOG, Humble Store, SteamWhile Warhammer 40,000: Gladius is a pretty good strategy game, it did feel somewhat…

Preview: Overland, the squad-based survival strategy game is to release in full next year

Tags: Update, Indie Game, Early Access, Strategy, PreviewOverland, a stylish strategy game where every single step counts is due for a full release…

The impressive ATOM RPG is to leave Early Access on December 19th

Tags: Indie Game, RPG, Early Access, SteamAfter little over a year in Early Access after a successful Kickstarter campaign, the surprisingly…

VK9, the project that aims to support Direct3D 9 over Vulkan has hit another milestone

Tags: VulkanThe developer of VK9, another rather interesting compatibility layer has advanced further with the announcement of another completed…

The lovely aquarium building game Megaquarium just had a big update

Tags: Steam, Humble Store, Indie Game, Simulation, StrategyTwice Circled are adding in plenty of new features to Megaquarium as promised, with a…

The KKnD remake using the OpenRA engine has a first release out

Tags: Open Source, StrategyKKnD, the classic strategy game is being revived and the new open source project has the first release out. Note: Much…

NVIDIA released the 415.22.01 Vulkan driver

Tags: NVIDIA, DriversYesterday, NVIDIA again updated their special beta Vulkan driver pushing it to version 415.22.01 with various improvements. This…

DXVK 0.94 is out with fixes and performance tweaks

Tags: Wine, VulkanThe Valve-funded DXVK project, which kicks over D3D11 and D3D10 to Vulkan for use with Wine has another fresh brew available.…

Wipeout inspired anti-gravity racer BallisticNG has left Early Access

Tags: Racing, Indie Game, SteamFor those who miss the glory days of Wipeout, take a look at BallisticNG which just left Early Access. Developed…

Distance, the awesome racing platformer has a new mini-campaign out

Tags: Steam, Humble Store, Indie Game, Racing, Platformer, UpdateFor those who've completed the main content of Distance you might want to grab your…

Good Company, a very stylish looking tycoon sim will support Linux

Tags: Steam, Indie Game, Unity, Strategy, SimulationGood Company, a business management tycoon sim is a recent discovery and it will be coming to…

KeeperRL had a pretty big release recently, adding in some modding support and lots more

Tags: Early Access, Indie Game, Itch.io, Humble Store, Steam, Strategy, RPG, Open SourceKeeperRL is a great little game, one that mixes in roguelike…

The excellent SC Controller gamepad tool has two fresh releases available

Tags: Apps, DriversDo not adjust your monitor, you did read the correctly. SC Controller, the excellent tool that started off just for configuring…

Discord announce a 90/10 revenue split, Discord Store will support Linux

Tags: MiscYou will be forgiven for not paying much attention to the Discord Store, since it doesn't currently support Linux. It seems that is going…