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

Raccoon - APK Downloader for Linux, MacOS, and Windows

Raccoon is a free and modern open-source APK downloader application that enables you to safely download any Android app available on Google Play Store to your Linux, Windows, or Mac desktop.

How To Share Files Anonymously And Securely: Linux Alternatives to Google Drive

The ability to share files regardless of the physical distance and almost instantaneously is one of the greatest characteristics of the Internet.

Gogo - Create Shortcuts to Long and Complicated Paths in Linux

Gogo is an impressive way to bookmark directories inside your shell.

Western Digital's Long Trip from Open Standards to Open Source Chips

Western Digital, the company known to most as a seller of hard drives, has gone all-in on open source.

Dell Unveils New XPS 13 Developer Edition Ubuntu Laptop with 10th Gen Intel CPUs

As part of Dell's new consumer PC portfolio, the company also unveiled today a new generation of its acclaimed XPS 13 Developer Edition powered by Ubuntu Linux.

How To Find USB Device Bandwidth Usage On Linux

 ostechnix: Usbtop is a top-like CLI utility that helps us to find USB device bandwidth usage on Linux.

How to navigate Ansible documentation

Ansible's documentation can be daunting for beginner's. Here's a tour that might help.

Google's Chrome OS 76 Improves Support for Multiple Accounts on Chromebooks

Chrome OS 76's probably most exciting is a unified account management for those who use multiple Google accounts on their Chromebook

GamingOnLinux Latest Articles

Mable & The Wood is a fairly unusual Metroidvania out now with Linux support

Tags: Steam, New Release, Metroidvania, Action, Indie Game, AdventureFeaturing a sweet fairy-powered protagonist wielding a sword so big they can…

The stable Wine 4.0.2 release is now available

Tags: Wine, New ReleaseIf you prefer to walk on the calmer side of life, the Wine 4.0.2 release has been made available today. As it's just a…

Some more thoughts on Ion Fury, the FPS from Voidpoint and 3D Realms

Tags: Action, FPS, Steam, ReviewIon Fury (previously Ion Maiden) is true example of how you really don’t need to push graphics ever closer to…

Valve tease a new Dota 2 hero named Snapfire with an animated short

Tags: MOBA, Free Game, Valve, SteamSnapfire is the name and Dota 2 is the game! Valve have teased a new bad-ass female hero in a wild west themed…

Looks like the Smach Z handheld gaming unit is getting an upgrade

Tags: HardwareThe Smach Z team attended this year's Gamescom and is appears they're not done tweaking this gaming handheld. While all their current…

Space colony building sim Space Haven has a third Alpha release out now

Tags: Indie Game, Alpha, Early Access, Upcoming, Sandbox, Simulation, StrategySpace Haven from Bugbyte Ltd continues being shaped into something…

Neverwinter Nights: Enhanced Edition has a new DLC out with Tyrants of the Moonsea

Tags: RPG, Steam, DLC, New ReleaseLooking for your next adventure? Neverwinter Nights: Enhanced Edition just got even bigger with a new "premium…

Supergiant Games is turning ten years old, big sale on their games and HADES is heading to Steam

Tags: Steam, Itch.io, Game SaleSupergiant Games, the team behind hits like Bastion and Transistor are turning ten years old as a studio and so…

Dynasty Mode & Eight Princes DLC for THREE KINGDOMS out for Linux, plus a Total War sale

Tags: DLC, New Release, Feral Interactive, Game Sale, Steam, Humble StoreFeral Interactive announced earlier today that the Eight Princes DLC for…

Zombie apocalypse action RPG Zombasite has a big update and a big sale to match

Tags: Action, RPG, Humble Store, GOG, Steam, Game Sale, UpdateAhead of the upcoming full release of Din's Legacy, Soldak Entertainment aren't…

Things are about to get weird in the Two Point Hospital: Close Encounters expansion

Tags: DLC, Upcoming, Humble Store, Steam, Strategy, SimulationTwo Point Studios and SEGA just announced the next expansion for their amusing hospital…

Hello Games appear to be keeping an eye on Steam Play with No Man's Sky, temp fix needed for NVIDIA

Tags: Steam Play, Steam, HOWTONo Man's Sky recently had an absolutely ridiculous update to add in tons of new features and greatly expanded…

Little Red Dog Games announce Rogue State Revolution, a political thriller roguelike

Tags: Upcoming, Steam, Strategy, Simulation, Godot EngineLittle Red Dog Games (Precipice, Deep Sixed, Rogue State) have announced Rogue State…

Rocket Pass 4 is coming to Rocket League on August 28th, with a new rally-inspired Battle-Car

Tags: Steam, Update, SportsThe fourth Rocket Pass is due to arrive in Rocket League soon, along with the start of Competitive Season 12. For those of…

Roguelike Stay Safe: Labyrinth of the Mad now has a Linux beta, sounds quite unique

Tags: Roguelike, Indie Game, Steam, BetaStay Safe: Labyrinth of the Mad from Yellowcake Games is a roguelike with plenty of random generation,…