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

Articles found under tag: bash

A script to log what my GPS tells me

By

I carry a Garmin Etrex 10 when I go bug-collecting. It's a handheld GPS receiver without many frills, and I only use it to record the latitude and longitude of each of my collecting sites as a waypoint. At the start of a field trip I delete all previous waypoints. When I do this, the trip's…

Read Article

Eek! My rounding is biased!

By

I've written several BASH scripts that use GNU AWK's printf function to round off decimal numbers. Now I've learned that the rounding is biased, and I need to re-do the scripts. For me the desirable way to round off a decimal is to round up if the bit to be discarded is greater than one half, and…

Read Article

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

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

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

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…