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

Articles found under tag: scripting

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

Why I (sometimes) love regular expressions

By

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read Article

Scripting a 'Find-and-Replace' for big text files

By

EDIT 26/04/2014 I wrote the original fandr script to do single-word replacements in big files. To do multiple-word find-and-replace, the 'needle' variables have to be double-quoted, as in the revised script below. An example of a multiple-word replacement is at the end of this article. I use two…

Read Article

Multiple-item data entry with YAD

By

YAD (Yet Another Dialog) creates GUI dialogs for data entry, user notification, etc. It was written by Victor Ananjevsky and is described as a fork of Zenity. In fact, it greatly extends Zenity and has a very large number of handy options. Here I explain how to build a multiple-item data entry form…

Read Article

Scripting an OCR text archiver for Trove

By

Trove is the National Library of Australia's online database. It contains almost 400 000 000 digital items, including Australian newspaper articles from 1803 to 1954. Trove's newspaper portal is particularly useful. You can view an entire digitised newspaper page, or select (or search for) an…

Read Article

How to kill blank lines elegantly

By

If you do a Web search for 'linux delete blank lines' you'll find lots of command-line advice. Some of the advice, though, only applies to special cases. Here I explain two elegant and general methods for finding and deleting any blank lines in a text file. As a sample text I'll use the 8-line file…

Read Article

Building a gazetteer table from KML files

By

Geoscience Australia has a freely downloadable gazetteer of Australian placenames with more than 370 000 entries. The download is a .zip file (83 mb) containing a user guide together with placenames data in GML, KML and Microsoft Access (.mdb) formats. What I wanted from all that data was a simple…

Read Article

Scripting a log for a single application

By

Here's a BASH shell script that automatically logs the date and time I start my Iceweasel web browser, and the length of time I use it. I launch the script (and Iceweasel) with a keyboard shortcut, and close the script by closing Iceweasel. Click for full size The log file has entries in the form…

Read Article

News Elsewhere

Linux Today

Pangolin Reverse Proxy Moves to Dual Licensing With New Enterprise Edition

Discover how Pangolin Reverse Proxy's new dual licensing model enhances flexibility with its Enterprise Edition, catering to diverse business needs.

The post Pangolin Reverse Proxy Moves to Dual Licensing With New Enterprise Edition appeared first on Linux Today.

Fedora Opens the Door to AI Tools, Demands Disclosure and Oversight

Discover how Fedora is paving the way for AI tools while advocating for transparency and oversight in technology. Explore the future of responsible AI.

The post Fedora Opens the Door to AI Tools, Demands Disclosure and Oversight appeared first on Linux Today.

DietPi 9.18 Adds NanoPi R3S, R76S, and M5 Support

Discover the latest features of DietPi 9.18, now supporting NanoPi R3S, R76S, and M5. Enhance your lightweight OS experience today!

The post DietPi 9.18 Adds NanoPi R3S, R76S, and M5 Support appeared first on Linux Today.

SuperTuxKart 1.5 Open-Source Kart Racing Game Released with Major Changes

Discover the exciting updates in SuperTuxKart 1.5! Explore major changes and enhancements in this open-source kart racing game. Join the fun today!

The post SuperTuxKart 1.5 Open-Source Kart Racing Game Released with Major Changes appeared first on Linux Today.

VirtualBox 7.2.4 Released with Initial Support for Linux Kernel 6.18

Discover the latest features of VirtualBox 7.2.4, now with initial support for Linux Kernel 6.18. Upgrade your virtualization experience today!

The post VirtualBox 7.2.4 Released with Initial Support for Linux Kernel 6.18 appeared first on Linux Today.

Clonezilla Live 3.3.0-33 Adds Support for Cloning MTD Block and eMMC Boot Devices

Discover Clonezilla Live 3.3.0-33, now featuring enhanced support for cloning MTD block and eMMC boot devices. Streamline your backup process today!

The post Clonezilla Live 3.3.0-33 Adds Support for Cloning MTD Block and eMMC Boot Devices appeared first on Linux Today.

Ubuntu 26.04 LTS “Resolute Raccoon” Daily Builds Are Now Available for Download

Discover the latest Ubuntu 26.04 LTS "Resolute Raccoon" daily builds. Download now to experience cutting-edge features and improvements in your system.

The post Ubuntu 26.04 LTS “Resolute Raccoon” Daily Builds Are Now Available for Download appeared first on Linux Today.

The Complete Guide to Best Linux Distros for Beginners in 2025

Discover the best Linux distros for beginners in 2025 with our comprehensive guide. Find the perfect fit for your needs and start your Linux journey today!

The post The Complete Guide to Best Linux Distros for Beginners in 2025 appeared first on Linux Today.

How to Dual Boot Windows and Linux on the Same SSD

Discover the step-by-step guide to dual boot Windows and Linux on the same SSD. Maximize your system's potential with this comprehensive tutorial.

The post How to Dual Boot Windows and Linux on the Same SSD appeared first on Linux Today.

Raspberry Pi 5 Desktop Mini PC: Internet Radio

Discover the Raspberry Pi 5 Desktop Mini PC, your ultimate solution for internet radio. Stream your favorite stations with ease and enjoy high-quality sound.

The post Raspberry Pi 5 Desktop Mini PC: Internet Radio appeared first on Linux Today.

GamingOnLinux Latest Articles

Vampire Crawlers: The Turbo Wildcard from Vampire Survivors arrives April 21

Will lightning strike twice for developer poncle? We're going to find out when Vampire Crawlers: The Turbo Wildcard from Vampire Survivors releases…

OpenTTD devs clarify store changes with Transport Tycoon Deluxe re-release as Atari contribute server funding

The OpenTTD developers have released a statement to clarify some confusion and misinformation on the Transport Tycoon Deluxe re-release from…

The Darkside Detective: Backside of the Moon gets a first demo

Ready for some more investigating? The Darkside Detective: Backside of the Moon from Spooky Doorway has a first demo available with Linux…

Steam Spring Sale 2026 is live - here's some indie gems to pick up

Another big event is here with the Steam Spring Sale 2026 - and you know the drill, lots and lots of games have some pretty juicy discounts.Read the…

SteamOS 3.8.0 Preview brings initial Steam Machine support, and improvements for many handhelds

SteamOS 3.8.0 Preview is another big upgrade for Valve's Linux distribution, with lots of enhancements to hardware support across the board for…

New Steam Beta can run the Linux client inside a container with 64bit

Valve have been cooking! A new Steam Client Beta is available with something quite special for Linux gamers, as Valve work to continue improving…

DEATH STRANDING 2: ON THE BEACH is now available on PC

As potentially one of the last Sony PlayStation published releases on PC, DEATH STRANDING 2: ON THE BEACH is officially out now from KOJIMA…

GNOME 50 released with much improved Parental Controls and lots more

GNOME 50 “Tokyo” is out now as the latest major update to the popular Linux desktop environment, and there's some big new goodies in this…

Thrilling retro-inspired shooter Nightmare Reaper adds 2-4 player co-op

Nightmare Reaper is a quality retro-inspired shooter worth your time, now even more so because you can team up with friends in a major upgrade.Read…

Opera GX is now available for Linux

The "gaming browser" Opera GX is now available for Linux, although I'm still not sure why you would want to actually use it.Read the full…

Firefox v149 is getting a free built-in VPN and other new features

Mozilla are working towards improving your privacy on the web, with Firefox v149 planned for March 24th that brings out their own built-in free…

The hilarious Lucky Tower Ultimate releases 1.0 on April 16

Lucky Tower Ultimate is absolutely brilliant and thoroughly funny and the big 1.0 release is announced to arrive on April 16th.Read the full article…

The nostalgic helicopter shooter Cleared Hot gets Linux support with a performance update

Cleared Hot is an excellent nostalgic helicopter shooter, and the latest release brings Native Linux support to improve performance on Steam…

Counter-Strike 2 gets a major update with reload changes, custom game modes

Possibly one of the most controversial updates for the Counter-Strike series as a whole, the latest Counter-Strike 2 update brings major changes from…

GE-Proton 10-33 brings fixes for VR outside of Steam, FSR upgrades and more

GE-Proton 10-33 has arrived bringing with it a fresh set of fixes for Windows games on Linux / SteamOS, here's all that's new for you.Read the full…

Bethesda reveal the huge Starfield Free Lanes update and new Terran Armada DLC

Bethesda have been busy cooking up a massive free update for Starfield called Free Lanes, along with a new DLC named Terran Armada.Read the full…

Get even more Steam Deck Verified games in the latest Fanatical Play on the Go Bundle

Time for some more savings! Fanatical just launched a fresh Play on the Go Bundle full of Steam Deck Verified games to take on the go.Read the full…

NVIDIA DLSS 5 has become the source of many memes as the backlash continues

Oh deary me, NVIDIA have a bit of a wildfire on their hands here, with NVIDIA DLSS 5 being compared with AI generated slop "art".Read the…

Combine spells to solve puzzles in the wonderful Rhell: Warped Worlds & Troubled Times - out now

Rhell: Warped Worlds & Troubled Times from developer SlugGlove is a wonderful adventure about overcoming puzzles with its unique spell…

Winnie's Hole gets bigger and easier to play with on the go in a fresh update

Winnie's Hole is one of my current indie favourites from the creators of Ring of Pain, with you infecting the classic Winnie-the-Pooh character.Read…

Intel launch Core Ultra 200HX Plus series mobile processors and a "Binary Optimization Tool"

More hardware and software releases from Intel today with the launch of the Intel Core Ultra 200HX Plus series and their new "Binary…

EndeavourOS Titan released, devs comment on age verification laws

The Arch-based Linux distribution EndeavourOS Titan is out now, bringing with it plenty of nice sounding upgrades and some comments on age…

Base-building tower defense game Vectorio gets a massive upgrade a year in the making

The 0.3 update for Vectorio is finally here, after a year of work from BN Games to overhaul practically everything and it sounds awesome.Read the…

If you miss GPU-Z on Linux check out the new GPU-T

GPU-Z is a popular Windows app to give you a simple readout of your graphics card, and a new Linux alternative GPU-T was announced recently.Read the…

NVIDIA DLSS 5 announced and it's all about that AI generation

NVIDIA DLSS 5 arrives sometime "this fall" and brings with it many big enhancements, but it's all getting a little bit on the weird…

PlayStation 3 emulator RPCS3 gets easier to use with Steam

The free and open source PlayStation 3 emulator RPCS3 is getting easier to use with Steam, with the devs announcing a useful new feature.Read the…

The Godot powered Slay the Spire 2 has already hit over 3 million sales

Slay the Spire 2 developers Mega Crit are sitting on a pile of gold now, as they've confirmed that the game has sold ridiculously well.Read the full…

Team up with your friends in the Multiplayer Madness 2026 Humble Bundle

If you need some more multiplayer games to play with friends, the Multiplayer Madness 2026 Humble Bundle may have exactly what you want.Read the full…

ARC Raiders replacing some AI voices, CEO says "a real professional actor is better than AI"

ARC Raiders is still one of the most popular games around right now, and thankfully some of the generative AI voices are getting replaced.Read the…

OpenRazer v3.12.0 brings Linux support for more Razer devices

Another fresh release of the free and open source OpenRazer has arrived, with v3.12.0 adding support for even more Razer devices on Linux.Read the…

Hollow Knight: Silksong Patch 5 brings many more bug fixes and improved translations

While Team Cherry continue working on the Sea of Sorrow expansion for Hollow Knight: Silksong, they've released Patch 5 to keep the game running…

Manjaro Linux looks like it's in trouble with the release of the "Manjaro 2.0 Manifesto"

At one point it seemed like Manjaro Linux would be the most popular Arch-based distribution, but after many missteps it appears to be at breaking…

Proton Experimental brings fixes for REDLauncher, HELLDIVERS 2, Atelier Yumia, KILLER INN and more

Valve released a fresh update to Proton Experimental for March 13th that bring numerous fixes to various games - here's all the details you need to…

Google will finally release Chrome for ARM64 Linux devices

After years of waiting, Google have finally decided to give ARM64 Linux devices the ability to natively install the Chrome browser.Read the full…

Transport Tycoon Deluxe returns from Atari - now a requirement for OpenTTD via Steam and GOG

Atari have re-released the classic building sim Transport Tycoon Deluxe, but in doing so they're making it slightly more difficult to get…

Letter from the owner - our stance on generative AI

Generative AI seems like it's everywhere now right? So here's a letter from the owner (me, hi!) formally setting out the GamingOnLinux stance on…

Build up your horror collection in the Frictional Games Humble Bundle

Frictional Games have created some incredible experiences and now you can grab a whole lot of them together in the new Frictional Games Humble…

MARVEL MaXimum Collection set to arrive March 27 with a bunch of classics

Limited Run Games just revealed that the MARVEL MaXimum Collection that brings multiple classics will get released on March 27th.Read the full…

Deep Rock Galactic: Survivor - Heavy Duty Expansion announced for April

Ghost Ship Publishing and developer Funday Games revealed the Deep Rock Galactic: Survivor - Heavy Duty Expansion that's arriving April 30th.Read the…

Roguelite spin-off shooter Deep Rock Galactic: Rogue Core arrives in May

Ghost Ship Publishing and Coffee Stain Publishing announced the roguelite DRG spin-off Deep Rock Galactic: Rogue Core is set for Early Access on May…

Defender of the Crown: The Legend Returns brings the absolute classic to a modern audience

Defender of the Crown is an absolute classic originally released on the Amiga, and now it's returning with Defender of the Crown: The Legend…

Mesa 26.0.2 arrives with more bug-fixes for Linux graphics drivers

Available now in Mesa 26.0.2, the latest bug-fix release for the current main stable version of open source graphics drivers for Linux.Read the full…

RWR 2 (RUNNING WITH RIFLES 2) announced with a teaser trailer

The popular top-down tactical shooter RUNNING WITH RIFLES is returning with RWR 2 (RUNNING WITH RIFLES 2) just announced.Read the full article on…

Lutris now being built with Claude AI, developer decides to hide it after backlash

There's a bit of drama going on with the popular game manager Lutris right now, with users pointing out the developer using AI generated code via…

Game age rating system PEGI to get big changes for in-game items and online play

The Pan-European Game Information (PEGI) age rating system today announced some big changes are coming to the way games are rated.Read the full…

HORSES wins the 2026 Nuovo Award despite the bans from Steam and Epic Games

HORSES from Andrea Lucco Borlera / Santa Ragione hit the headlines last year for getting banned on Steam and Epic Games, but they've still won the…

OBS Studio 32.1.0 arrives with WebRTC Simulcast support and a new Audio Mixer

If you want to do livestreaming or video recording on Linux, OBS Studio is easily the best free and open source app you can get for it and v32.1.0 is…

D7VK version 1.5 brings Direct3D 3 support via Vulkan on Linux

The D7VK project has expanded again in version 1.5 that's out now - adding in support for Direct3D 3.Read the full article on GamingOnLinux.

Valve posted a statement on the New York lootbox lawsuit

Valve have been the target of multiple lawsuits lately, and now they've put up an explainer update on their position with the New York lootbox…

Unity announce expanded support for Steam, Native Linux, Steam Deck and Steam Machine

For GDC 2026, Unity revealed expanded official support is coming for Steam. This includes Native Linux, Steam Deck, Steam Machine and more.Read the…