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

Alternatives to Popular CLI Tools: man

The system’s man pages contain a wealth of useful information. But sometimes it’s hard to see the wood for the trees. Step forward alternatives to man.

The post Alternatives to Popular CLI Tools: man appeared first on Linux Today.

Install Wiki.js Using Podman And Docker Compose In Debian 12

Wiki.js is a modern open-source wiki software. This guide explains how to install Wiki.js using Podman and Docker Compose on Debian Linux 12.

The post Install Wiki.js Using Podman And Docker Compose In Debian 12 appeared first on Linux Today.

How to Set Up ProtonVPN on Debian 12

If you’re a Linux enthusiast or a seasoned sysadmin, you already know the importance of online privacy and security. A reliable VPN is a must-have tool in your arsenal, and ProtonVPN is one of the best options out there, due to its strong encryption, no-logs policy, and open-source transparency. In this guide, I’ll show you […]

The post How to Set Up ProtonVPN on Debian 12 appeared first on Linux Today.

What is the ERR_CONNECTION_RESET Error and How to Fix It?

In this tutorial, we are going to explain what the ERR_CONNECTION_RESET error is and how to fix it. This issue occurs when the connection between the browser and the website (server) unexpectedly closes. The terminated connection is due to the server terminating the session before completing the data transfer. In other words, the browser sent […]

The post What is the ERR_CONNECTION_RESET Error and How to Fix It? appeared first on Linux Today.

How to Install Fast API with MongoDB on Ubuntu 24.04

FastAPI is a web framework based on Python for creating API services. It’s a modern, fast, high-performance framework supporting asynchronous operations.

The post How to Install Fast API with MongoDB on Ubuntu 24.04 appeared first on Linux Today.

11 Best Free and Open Source Linux HDR Imaging Software

High dynamic range imaging (HDR) is an important technology for photographers.

The post 11 Best Free and Open Source Linux HDR Imaging Software appeared first on Linux Today.

Killport: Stopping Processes by Port Number in Linux

Killport is a Linux command-line tool that allows users to quickly kill processes listening to a single or multiple ports.

The post Killport: Stopping Processes by Port Number in Linux appeared first on Linux Today.

Kdenlive 24.12.2 Brings Bug Fixes and UI Improvements

Kdenlive 24.12.2 open-source video editing software brings bug fixes, including UI resizing, proxy clip handling, and improved Speech-to-Text support.

The post Kdenlive 24.12.2 Brings Bug Fixes and UI Improvements appeared first on Linux Today.

Asahi Linux Adopts Collective Leadership After Lead Dev Quits

After Asahi Linux’s founder and lead developer abruptly quit on Thursday, the project moves forward with seven developers sharing the lead role.

The post Asahi Linux Adopts Collective Leadership After Lead Dev Quits appeared first on Linux Today.

The FOSS Force Almost Open Tech News Quiz (2/14/25)

This inaugural quiz for the reboot is only seven questions, so it's a quick in-and-out, win-or-lose for those who want to play.

The post The FOSS Force Almost Open Tech News Quiz (2/14/25) appeared first on Linux Today.

GamingOnLinux Latest Articles

Among Us 3D announced supporting cross-play with Among Us VR

While it's not compatible with the original 2D game, the announcement of Among Us 3D is quite exciting bridging the worlds of traditional 3D and VR…

What to claim from Prime Gaming, February 21st edition - plenty for Steam Deck / Linux

Here's the up to date list of games available on Amazon Prime Gaming for February 21st, and what compatibility you can expect for Linux / SteamOS and…

Playstation 2 Emulator PCSX2 enables Wayland by default

For people who enjoy seeing improvements for emulation on Linux, and for Wayland support - the Playstation 2 Emulator PCSX2 has now enabled support…

Playtron GameOS Alpha 3 brings the 'GameLAB' tool for game configuration and remote management

Playtron, the company attempting to build a Linux gaming distribution to take on Valve, Microsoft and others have released GameOS Alpha 3 with a…

My favourite comedy dungeon crawler Lucky Tower Ultimate just got a big content update

The update simply called "Content" brings a whole lot of extras to Lucky Tower Ultimate, my current favourite dungeon crawler that keeps on…

OpenRazer v3.10 brings support for Razer Basilisk V3 35K and more on Linux

The community made and supported OpenRazer driver has a new v3.10 release available now, further expanding Razer hardware capabilities on Linux..Read…

Indiana Jones and the Great Circle gets DLSS 4 and FSR 3.1 but breaks on Steam Deck / Linux with Mesa

Indiana Jones and the Great Circle just got a major update with some fancy new features, but it seems like it's now broken on Linux with AMD GPUs…

Marvel's Spider-Man 2 is now Steam Deck Verified

Surprisingly, Marvel's Spider-Man 2 has been given the Steam Deck Verified checkmark by Valve, after the latest patch was released with more updates…

A year later, Palworld hits 32m players while continuing to fight off Nintendo

It's been a little bit over a year now since Palworld arrived in Early Access, with developer Pocketpair announcing how well it's done along with…

House Flipper and Friends Humble Bundle has some fun looking sims

One for the creative types and people who love doing chores. The House Flipper and Friends Humble Bundle has an assortment of simulator treats…

Phil Spencer of Microsoft Gaming thinks generative AI will help game preservation

Microsoft recently announced Muse, "a generative AI model of a video game that can generate game visuals, controller actions, or both". And…

The OBS Studio versus Fedora drama seems to have calmed down - no more legal threats

Recently I highlighted a fight that had broken out between the OBS Studio team and the Fedora Linux developers. The issue was centred around the…

Take a trip through an indie dev brain in Terry's Other Games from Terry Cavanagh

A name you might know from the likes of Dicey Dungeons, Super Hexagon and VVVVVV. This is not a single game but a collection of various experiments…

Monster Train 2 announced with a demo live

The huge hit deck-builder Monster Train is getting a sequel, with Monster Train 2 getting an announcement and demo in the same day so you can try it…

There's been a flood in the Wandering Waters update for Dota 2

While Valve continue building up their next MOBA with Deadlock, their current Dota 2 is still as popular as ever and the Wandering Waters update for…

Airport X-Ray Simulator gets a gamepad and Steam Deck Beta

Airport X-Ray Simulator from developer Rainbow Lab has a fresh Beta available on Steam, which includes some overhauled controls for gamepads and…

Mesa 25.0 open source graphics drivers released with Vulkan 1.4 and initial AMD RDNA4 support

Developer Eric Engestrom announced today the release of Mesa 25.0, bringing lots of open source graphics driver updates and expanded hardware…

Proton Experimental adds fixes for Rising Storm 2: Vietnam, The Finals and more

Valve released a fresh update for Proton Experimental today pulling in some more fixes for various Windows games to run on Linux / Steam Deck..Read…

Amazon's previous VP of Prime Gaming said they "tried everything" to disrupt Steam

Everything except making a store people wanted to use? Ethan Evans, who was previously Vice President of Prime Gaming at Amazon, has a short…

Even with the incredible launch Marvel Rivals developer NetEase sends US staff packing

Game didn't sell enough? Staff cuts. Game did incredible! Staff cuts. It seems there's just no winning for some people as Marvel Rivals developer…

Valve use a little code from Godot for Half-Life 2, Counter-Strike: Source, Day of Defeat: Source, Team Fortress 2

This is the beauty of open source in action - everyone can benefit. Valve are no stranger to open source, and as it turns out they're using a little…

Team Fortress 2 major update released and source available for modders via the Source SDK

It wasn't just Counter-Strike: Source and Day of Defeat: Source that received big updates today, as Valve also published a new update for Team…

Counter-Strike: Source and Day of Defeat: Source get major updates with 64bit support

A nice surprise for some classic Valve games today with multiple titles like Counter-Strike: Source and Day of Defeat: Source getting major…

Broken Shell is the cutest looking love story adventure of two little hermit crabs

You ever look at a game and just think - "wow, this looks truly lovely"? That's the feeling I got from seeing Broken Shell and I can't wait…

Cropdeck blends farming and deckbuilders together to make a wonderful looking mix

Just when you think you've seen it all, along comes Cropdeck. Described by the developer as the "ultimate farming roguelite deckbuilder"…

PlayStation 3 emulator RPCS3 expands online play for fighting games with RPCN v1.4

Another big update has been released for RPCN, the open source online matchmaking server for PlayStation 3 emulator RPCS3. This brings new…

FACEMINER will have you scale up your A.I. surveillance empire on February 27

A narrative-driven management simulation that plunges players into the heart of a 90s-era data harvesting and artificial intelligence empire,…

OCCT for stress-testing comes to Linux and Steam Deck, with a Steam release planned

OCCT has long been a popular tool for PC stability and performance testing on Windows, and now it's officially been made available for Linux in…

CodeWeavers are hiring developers to work on Wine / Proton

CodeWeavers announced recently that they're once again looking for more developers to come work for them on the compatibility layers Wine and Valve's…

Building a Retro Linux Gaming Computer Part 46: Bursting Bubbles

I have had my fair share of success in running games released up to around 2004 or so, but after that I do begin to encounter more issues with binary…

Is This Seat Taken? is a thoroughly charming puzzle game about swapping seats

With a demo now available, Is This Seat Taken? is a wonderfully charming idea for a logic puzzle game about picking up people and putting them in the…

Now you can get a real-life Deep Rock Galactic mug for all your beer

Here's a bit of fluff for you today: fans of Deep Rock Galactic are in for a treat, as you can now grab an officially licensed beer mug and they sure…

AI is everywhere in AI Confidential and it's your job to fix up all the robots - check out the demo

In a world where Artificial Intelligence is everywhere, you work for an AI megacorp and you're the one sent around to people's homes to fix up all…

SUPER DEBT is a twin-stick bullet-hell dungeon crawler where time eats away your money

Things get weird real fast in SUPER DEBT, a new bullet-hell dungeon crawler from developer zagawee, who also made Garbanzo Quest..Read the full…

Final Outpost is hopping over from mobile to PC with a Definitive Edition - demo available now

Exabyte Games announced they're bringing their popular survival strategy base-builder to PC with Final Outpost: Definitive Edition. There's a demo…

Check out the demo for Replicube an open-ended programming puzzle game from Walaber

From Walaber Entertainment who made Parking Garage Rally Circuit and JellyCar Worlds, their next game is Replicube. There's a demo now available to…

Luanti (formerly Minetest) v5.11 out now with an in-game settings menu and better server browser

Luanti (formerly Minetest) has a new release out, which finally adds an in-game settings menu so you don't have to quit your current game to adjust…

A whole lot of people picked up a shovel for A Game About Digging A Hole

A Game About Digging A Hole has a very simple idea, everything about it is in the name, and yet it managed to pull a whole lot of people in..Read the…

The beautiful diorama builder Tiny Glade adds controller support

After previously making some improvements for Steam Deck, developer Pounce Light have now implemented more proper controller support for Tiny…

Steam Deck update gets a small battery life boost with the Frame Limiter

Valve released a new Steam Deck Beta Client update for February 14th, showing the love to battery life with a little extra juice..Read the full…

Deckbuilder fans should check out this new Humble Bundle

If you love deckbuilders you may want to take a look at the just launched Deckbuilder Bonanza Humble Bundle as there's a few treats inside..Read the…

Get over 30 games including Hardspace: Shipbreaker right now via Prime Gaming

Here's the up to date list of games available on Amazon Prime Gaming for February 14th, and what compatibility you can expect for Linux / SteamOS and…

SteamOS-like Bazzite Linux has some nice growth thanks to great handheld PC support

There's no need to wait on Valve releasing SteamOS 3 for everyone thanks to Bazzite. Some really impressive work continues to go into it, and it…

Get Tomb Raider I-III Remastered and STAR WARS: Bounty Hunter cheap in Fanatical's Prestige Collection

Another great deal you can grab here with Fanatical's Prestige Collection - Build your own Bundle (BundleFest 2025), with a whole bunch of quality…

Metal Gear Solid Delta: Snake Eater releases in August

KONAMI announced that Metal Gear Solid Delta: Snake Eater is going to be launching on August 28th, with pre-orders now live. Another that was…

Open source non-profit platform Codeberg "suffering from hate campaigns due to far-right forces"

Codeberg are a "non-profit, community-led effort that provides Git hosting and other services for free and open source projects" and…

Tomb Raider II open source re-implementation adds Linux support

TRX, the Tomb Raider I & II: Community Edition open source re-implementation project, has continued advancing and a fresh release of both are out…

Here's all the Steam Sales and Fests for 2025

Valve have now revealed the full list of Steam Sales and Festivals that will be happening throughout 2025. So time to fill up that wishlist, mark…

Days Gone Remastered announced coming to PC as a $10 DLC in April

Catching up from a few other interesting bits announced during the PlayStation State of Play February 2025 is Days Gone Remastered. For players on…

A workaround for Final Fantasy VII Rebirth on Linux with NVIDIA GPUs has been found

While Final Fantasy VII Rebirth can work on Linux with AMD GPUs (like Steam Deck), the situation with NVIDIA GPUs has been messy. Open source to the…