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

Articles found under tag: bash

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

A Pivot Table In AWK

By

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read Article

News Elsewhere

Linux Today

OpenSnitch: The Must-Have Application Firewall for Linux

Protect your Linux system with OpenSnitch, the must-have application firewall.

The post OpenSnitch: The Must-Have Application Firewall for Linux appeared first on Linux Today.

You Can Now Upgrade Ubuntu 24.10 to Ubuntu 25.04, Here’s How

Discover how to seamlessly upgrade from Ubuntu 24.10 to 25.04 with our step-by-step guide.

The post You Can Now Upgrade Ubuntu 24.10 to Ubuntu 25.04, Here’s How appeared first on Linux Today.

Best Free and Open Source Alternatives to Microsoft Loop

Discover the best free and open source alternatives to Microsoft Loop. Explore powerful tools that enhance collaboration and productivity without the cost.

The post Best Free and Open Source Alternatives to Microsoft Loop appeared first on Linux Today.

Ubuntu Maker Canonical Donates to Support Open Source Developers

Discover how Canonical's donation to Ubuntu Maker is empowering open source developers and fostering innovation in the tech community.

The post Ubuntu Maker Canonical Donates to Support Open Source Developers appeared first on Linux Today.

3 Useful Bash Oneliners: Find IP Address, Copy Trick, Run Previous Command with Different Arguments

Explore 3 essential Bash oneliners with varied arguments to simplify your command line operations and boost your productivity in scripting.

The post 3 Useful Bash Oneliners: Find IP Address, Copy Trick, Run Previous Command with Different Arguments appeared first on Linux Today.

Archinstall 3.0.5 Rolls Out with Encrypted Credentials

Archinstall 3.0.5 brings user credential encryption, password hashing, new window managers, and more.

The post Archinstall 3.0.5 Rolls Out with Encrypted Credentials appeared first on Linux Today.

Nobara Linux 42: A Fedora-Based Distro That Deserves More Attention

While privacy-focused distributions like Tails 6.14.2 continue to make headlines for their specialized use cases, there’s also a need to spotlight desktop Linux options that focus on performance, ease of use, and hardware compatibility.

The post Nobara Linux 42: A Fedora-Based Distro That Deserves More Attention appeared first on Linux Today.

How to Trigger and Fix a Linux Kernel Panic

As someone who’s broken and fixed more Linux machines than I can count in 15+ years, I’ll help you learn this the fun and safe way.

The post How to Trigger and Fix a Linux Kernel Panic appeared first on Linux Today.

How To Install Latest KDE Plasma 6.4 Beta In Fedora 42

This step-by-step tutorial will show you how to install the latest KDE Plasma 6.4 Beta on Fedora 42.

The post How To Install Latest KDE Plasma 6.4 Beta In Fedora 42 appeared first on Linux Today.

PipeWire 1.4.3 Brings Netjack2 Fixes and MIDI Improvements

PipeWire 1.4.3 multimedia framework is out with netjack2 fixes, improved UMP sysex handling, better MIDI support, and more.

The post PipeWire 1.4.3 Brings Netjack2 Fixes and MIDI Improvements appeared first on Linux Today.

GamingOnLinux Latest Articles

Watchword gives the Balatro treatment to an anagram word game

Watchword is an anagram roguelike, pulling in some clear energy from Balatro as you play with words using rule-breaking synergies and combos..Read…

Retro dungeon crawler Brany Skeldalu gets a Linux version and source code re-release

Gates of Skeldal (Czech: Brány Skeldalu) originally released in 1998 and recently it gained a Native Linux version along with a source code…

SteamOS massively beats Windows on the Legion Go S

According to YouTuber Dave2D who managed to get their hands on the Lenovo Legion Go S, the SteamOS version destroys Windows in performance and…

Steam Workshop support comes to Civilization VII in June with a new update out now

Firaxis are still working to improve Civilization VII, with a big update coming in June and a smaller update out now..Read the full article on…

Becoming Saint mixes a roguelike with a mini medieval real-time strategy

With a demo that's just been released and a full release date announced, Becoming Saint looks like a clever blending of genres. I actually love how…

SteamOS 3.7.9 Beta has fixes for ROG Ally, Legion Go S, booting on Strix Point

Valve continue hammering away at the code for SteamOS to get it working nicely on more devices and hardware, with SteamOS 3.7.9 Beta bringing more…

Putting Team Fortress 2 inside Half-Life 2, Lambda Fortress is coming to Steam

The big cross-over mod Lambda Fortress that puts the Team Fortress 2 mercenaries into Half-Life 2 and other Source campaigns is coming to Steam..Read…

Splitgate 2 now works on Desktop Linux with the anti-cheat updated

Quite a surprise. 1047 Games recently launched the free to play Splitgate 2 in Beta on Steam, initially with their anti-cheat RedKard blocking…

Zombies vs Vampires Fest is live on Steam - some recommendations

Valve launched the Zombies vs Vampires Fest on Steam. There's a number of nice games discounts, so here's some suggestions for Linux, SteamOS and…

Play as a virus inside Winnie the Pooh in Winnie's Hole - demo out now

With Pooh now in the public domain, of course we're going to get some weird Winnie the Pooh games. Winnie's Hole is a new game from the Ring of Pain…

FIA World Rally Championship (WRC) games return to NACON

After the news recently that EA Codemasters were pausing development plans on future rally titles, we now know who will continue the series with it…

Indie puzzle game Cogs from 2009 gets a remaster

Cogs from Lazy 8 Studios originally released back in 2009, and gained a Native Linux version back with the Humble Indie Bundle 3 in 2011. Now, 16…

SteamOS Manager for BIOS updates, TDP and GPU clock controls now open source

On Valve's official public GitLab, they've recently put up SteamOS Manager under the open source MIT license following the SteamOS 3.7 release for…

Myst: Masterpiece Edition, Riven (1997) and Myst III: Exile get upgraded and now Steam Deck Verified

Cyan Worlds went back to their classics Myst: Masterpiece Edition, Riven (1997) and Myst III: Exile to get them upgraded and also Steam Deck…

Into the Restless Ruins gets you to deck-build a dungeon and then explore it

Into the Restless Ruins is a rather different dungeon crawler, one where you build the dungeon over time with a deck of cards you continue to gather…

Fan-made PC port of Star Fox 64 gets a Linux version in a big update

Starship, the fan-made PC port of Star Fox 64 announced by the team who also made PC ports of Legend of Zelda: Ocarina of Time (Ship of Harkinian)…

3rd person narrative horror MEGANAUT from the dev of Lorn's Lure gets a demo

The developer of the exploration climbing game Lorn's Lure is working on a new game named MEGANAUT, a 3rd person narrative horror and now there's a…

The Elder Scrolls: Arena remake gets Jolt Physics and big new features

OpenTESArena is an in-development open source game engine remake of The Elder Scrolls: Arena, with a big new release out now as the developer…

After their publisher was banned from Steam, Bioprototype returns and it's free

Sometime in 2024 a publisher called BD Games was banned from Steam, taking with it numerous smaller games. Bioprototype from Emprom Game recently…

Brickadia is like Roblox and LEGO combined and it arrives July 11

Brickadia has been an interesting project to follow, that combines some elements of Roblox with powerful creation systems along with an LEGO styled…

An Amazing Wizard is a Dead Cells-like where you mix spells out in Early Access

Out now in Early Access with Linux support, An Amazing Wizard brings an interesting spell mixing system to a Dead Cells-like action platformer..Read…

Luanti (Minetest) v5.12 brings SDL2, keybind settings, reviews in the content browser

Luanti (formerly named Minetest) has a big new release out with v5.12 bringing SDL2 for the Window and Input Handling along with numerous other big…

CoreCtrl app has entered maintenance mode with no new features coming

CoreCtrl is a popular Linux app designed to let you get more control over your GPU and CPU. Sadly, the creator has put it into maintenance mode with…

Proton Experimental update enables gamepad input for all game launchers on Linux, SteamOS / Steam Deck

Valve released a brand new and exciting update to Proton Experimental for Linux, SteamOS / Steam Deck gamers. This brings some new fixes, as well as…

StarVaders is deck-building meets grid-based tactics and it's basically perfect

StarVaders from developer Pengonauts is a colourful and action-packed mix of a deck-builder with fast grid-based tactical combat and it's a…

Fanatical's latest Capcom Legends bundle has some good picks for cheaps

Build up your game collection easily with the Capcom Legends bundle from Fanatical, with 20 items to choose from..Read the full article on…

Marvel's Spider-Man 2 gets NVIDIA DLSS 4 improvements and a Steam Deck / SteamOS fix

Marvel's Spider-Man 2 from Insomniac Games, Nixxes Software and PlayStation Publishing LLC has Patch 10 out now with some NVIDIA upgrades along with…

Dune: Awakening will have BattlEye enabled for Linux, SteamOS / Steam Deck

Ahead of the release of Dune: Awakening, my one major concern with it has been swept away by the sands. Thankfully, the BattlEye anti-cheat will be…

Warhammer 40,000: Mechanicus II gets a first trailer and you can get a free copy of Gladius

Even more Warhammer news for you coming out of the Warhammer Skulls event. We have the first trailer for Warhammer 40,000: Mechanicus II. Plus, you…

Here's all the games to claim for Steam Deck / Linux from Prime Gaming as of May 23rd

Here's the fresh and up to date list of games available on Amazon Prime Gaming for May 23rd, and what compatibility you can expect for Linux /…

Heroic Launcher for Epic, GOG, Amazon games on Linux / SteamOS v2.17 released

Bringing a UI refresh to game pages, along with numerous fixes to running games on Linux systems, the Heroic Games Launcher has a new release out…

Multiple Warhammer games enter the GOG Preservation Program, and some games now exclusive to GOG

GOG have announced another expansion of the GOG Preservation Program, their promise to keep games updated and refreshed for modern systems with…

Warhammer 40,000: Space Marine and Warhammer 40,000: Dawn of War are getting remasters

Warhammer 40,000: Dawn of War - Definitive Edition and Warhammer 40,000: Space Marine - Master Crafted Edition have been announced, refreshing two…

Splitgate 2 gets a Beta on Steam, works on Steam Deck but not other Linux systems for now

Splitgate 2 brings back the free to play FPS with portals from 1047 Games, with a Beta now available. However, it's another game that will not work…

Steam Deck gets a big upgrade with SteamOS 3.7 and you can now install it on other AMD handhelds

Valve just released SteamOS 3.7 to the stable channel, bringing a huge amount of improvements to the Steam Deck. This also brings official support…

Deck-builder meets auto-shooter in Hordes of Fate : A Hand of Fate Adventure - demo now live

From the original creative team behind the Hand of Fate series, Hordes of Fate : A Hand of Fate Adventure is a mixture of deck-building and…

Drop Duchy is an inventive mixture of Tetris with deck-building and combat

Giving a really odd and unique blending of genres and game mechanics, Drop Duchy is a wonderful choice for you to pick up and play..Read the full…

MSI Claw handheld looks like it may get better Linux support

A new draft patch series for the Linux kernel has been submitted, which should hopefully bring up expanded support for the MSI Claw handheld..Read…

Embracer to spin off Coffee Stain, rebrand as Fellowship Entertainment and release 76 games in the next year

Embracer have released their latest interim report, along with a statement on their plans to spin off Coffee Stain Group and go through a rebrand to…

The 8BitDo Ultimate 2 Wireless Controller is a top premium-feeling controller

I've been testing out the latest 8BitDo Ultimate 2 Wireless Controller for over a week solidly now, and I really think it's a properly great…

Try out the Steam Playtest for Gobutiko and become the greatest dice-rolling goblin merchant

In the upcoming game Gobutiko you are a goblin merchant, and of course being greedy you will haggle with your customers by rolling dice to wear them…

Ninja action-RPG adventure Katana Dragon recently added Linux and Steam Deck support

Currently in Early Access, the action-RPG adventure Katana Dragon from Tsunoa Games recently added Native Linux and Steam Deck support..Read the full…

Lenovo Legion Go S with SteamOS now listed for purchase in the UK

As the release of the Lenovo Legion Go S with SteamOS is approaching, multiple retailers now have it listed in the UK ready for delivery..Read the…

SteamOS 3.7.7 Beta brings a Battery Charge Limit option and improved Lenovo Legion Go S support

Valve have released SteamOS 3.7.7 Beta "Sunny & Gizmo" with the noted changes including the new Battery Charge Limit option along with…

Get some dino games like Parkasaurus, Amber Isle and Prehistoric Kingdom in this Humble Bundle

The Stomp & Chomp Humble Bundle is live with 7 dinosaur themed games for you to dive into park building or for you to fight them off..Read the…

Here's some Steam Deck Verified games coming in 2025 to get excited about

As we enter the midpoint of 2025, you might be curious to know what upcoming games are Steam Deck Verified. I've looked under every rock on Steam and…

FANTASY LIFE i: The Girl Who Steals Time is out today and Steam Deck Verified

LEVEL5 Inc. are releasing FANTASY LIFE i: The Girl Who Steals Time today and the good news is that it's Steam Deck Verified. So it will work great on…

The latest HELLDIVERS 2 update is going to suck away lots of hours and it's discounted

Arrowhead Game Studios have just launched a major update to the popular co-op shooter HELLDIVERS 2, and with that there's many new enemies to face…

NVIDIA release fresh details on their current Wayland support and future plans

NVIDIA have put up a new official forum post going over the level of Wayland support available in their current Linux drivers, along with what future…

Lead a team of mercenaries in the tactical top-down shooter Regulators out now

Originally called Regulator City and now just Regulators, it's the latest action game from indie developer Orangepixel known for the likes of…