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

How to Install Emby Media Server on Debian 12

Learn how to install Emby Media Server on Debian 12 with our detailed guide. Enjoy seamless media streaming and management in just a few steps.

The post How to Install Emby Media Server on Debian 12 appeared first on Linux Today.

9to5Linux Weekly Roundup: March 23rd, 2025

Stay updated with the latest in Linux! Explore the 9to5Linux Weekly Roundup for March 23rd, 2025, featuring news, updates, and insights from the Linux community.

The post 9to5Linux Weekly Roundup: March 23rd, 2025 appeared first on Linux Today.

Finders Keypers: Open-source AWS KMS key usage finder

Discover Finders Keypers, the open-source tool for efficiently locating AWS KMS key usage. Simplify your key management and enhance security today.

The post Finders Keypers: Open-source AWS KMS key usage finder appeared first on Linux Today.

Linuxiac Weekly Wrap-Up: Week 12 (Mar 17 – 23, 2025)

Stay updated with the latest in Linux! Explore the Linuxiac Weekly Wrap-Up for Week 12, covering key events and insights from March 17 to 23, 2025.

The post Linuxiac Weekly Wrap-Up: Week 12 (Mar 17 – 23, 2025) appeared first on Linux Today.

Hyprland Celebrates Its Third Birthday with v0.48

Celebrate Hyprland's third birthday with the exciting release of v0.48! Discover new features and enhancements that elevate your experience today.

The post Hyprland Celebrates Its Third Birthday with v0.48 appeared first on Linux Today.

22 Best Free and Open Source Clipboard Managers

Discover the 22 best free and open source clipboard managers to enhance your productivity. Explore features, benefits, and download options today!

The post 22 Best Free and Open Source Clipboard Managers appeared first on Linux Today.

It’s CoreOS Test Week for Fedora 42 and Fedora Users are Needed

Be part of Fedora 42's CoreOS Test Week! Engage with the community, test new features, and share your insights to shape the future of Fedora.

The post It’s CoreOS Test Week for Fedora 42 and Fedora Users are Needed appeared first on Linux Today.

EndeavourOS Mercury Neo Launches with KDE Plasma 6.3, NVIDIA 570, and Mesa 25

Discover the latest EndeavourOS Mercury Neo featuring KDE Plasma 6.3. Explore new features, enhancements, and a seamless user experience in this exciting release.

The post EndeavourOS Mercury Neo Launches with KDE Plasma 6.3, NVIDIA 570, and Mesa 25 appeared first on Linux Today.

Rescuezilla 2.6 Released with Secure Boot Fixes and Updated Hardware Support

Discover the latest Rescuezilla 2.6 release featuring secure boot fixes and enhanced hardware support. Upgrade your recovery tools today for optimal performance.

The post Rescuezilla 2.6 Released with Secure Boot Fixes and Updated Hardware Support appeared first on Linux Today.

Finnix Linux Distro for Sysadmins Celebrates 25th Anniversary with New Release

Finnix Linux Distro marks 25 years of excellence! Check out the new release, offering sysadmins innovative tools and features for efficient system administration.

The post Finnix Linux Distro for Sysadmins Celebrates 25th Anniversary with New Release appeared first on Linux Today.

GamingOnLinux Latest Articles

Monster Train 2 is now set for release on May 21

Following the news I shared yesterday about Monster Train 2 being Steam Deck Verified, they've today revealed the release date as well..Read the full…

Paradox announce Victoria 3: Expansion Pass 2 with Charters of Commerce expansion arriving in June

It may not be the most popular strategy game from Paradox Interactive and Paradox Development Studios, but they're still expanding it. Victoria 3 is…

Luck be a Landlord dev's bullet heaven roguelite Maze Mice arrives May 2

Maze Mice is the next game from the developer of the popular Luck be a Landlord, and it's going to chew through your skirting board into Early Access…

Blendo Games announce full Steam Deck support for stealthy shooter Skin Deep

Blendo Games who previously made Flotilla, Quadrilateral Cowboy, Thirty Flights of Loving and Atom Zombie Smasher have a brand new release coming on…

GE-Proton 9-27 brings fixes for Ubisoft Connect, Epic Games, Wuthering Waves and Monster Hunter Wilds

The community maintained compatibility layer for Windows games on Linux / Steam Deck, GE-Proton version 9-27 is out now with numerous fixes..Read the…

Steam Deck SteamOS 3.6.24 released with fixes for Avowed and No Rest for the Wicked

Valve have released the latest stable SteamOS update for Steam Deck. SteamOS 3.6.24 is here with a few fixes and improvements, while work continues…

The Last of Us Part II Remastered is Steam Deck Verified

What could be the biggest surprise of the year — The Last of Us Part II Remastered releases on Steam on April 3rd, and Valve just gave it the…

Monster Train 2 is Steam Deck Verified ahead of release

Great news for gamers on the go as Monster Train 2 from Shiny Shoe / Big Fan Games is Steam Deck Verified. It hasn't even released yet so Valve got…

Rogue Kingdoms blends tower defense with Vampire Survivors action and will have full Steam Deck support

With an upgrade system that's a little inspired by the popularity of Vampire Survivors and all the games that followed, Rogue Kingdoms combines some…

Critter Cove gets a major performance update - should work better on Steam Deck

Critter Cove is an open world life sim and town building game set in a cozy post-apocalyptic paradise. It's currently in Early Access and a recent…

ProtonUp-Qt v2.12 brings a new Steam Deck theme and support for Proton-CachyOS

ProtonUp-Qt is a tool to add extra compatibility tools on Linux / Steam Deck like GE-Proton. A new release out now with version 2.12..Read the full…

KDE Plasma 6.3.4 fixes 'the most common Plasma crash', now down to zero very high priority bugs

Work on the KDE Plasma desktop sounds like it continues to go very well, with some really important bug fixes arriving to make the experience a lot…

Linux support for Command & Conquer Generals Zero Hour is coming along now it's open source

Now that the code for Command & Conquer Generals (along with other classic RTS games from EA) is open source, the community is working on getting…

Nearly two years after the last update, Quake II RTX 1.8 is out with Quake 2 Remastered map support

Lightspeed Studios / NVIDIA have recently updated Quake II RTX, their ray-traced reimagining of id software’s old school classic..Read the full…

Satisfactory will get controller support with the massive 1.1 update

Due to get an experimental build for you to test it early tomorrow, controller support is coming to Satisfactory along with a whole bunch of other…

Marvel's Spider-Man 2 has lost its Steam Deck Verified rating

Valve's Steam Deck rating system is generally quite correct, but there are clearly some times when it isn't. Thankfully, Valve do go back over…

Cassette Beasts is getting a new companion character and story quest

Cassette Beasts from Bytten Studio has a fresh update announced for release on April 7th, bringing in a number of extras to the already fantastic and…

Historical strategy game Old World switches to Vulkan for Linux / Steam Deck

Mohawk Games continue releasing some pretty big updates to their Civilization like game Old World, with the latest aiming to fix up lots of issues…

Immortal Boy looks wild blending a little Undertale and OMORI together

IcarusDev is currently making Immortal Boy a 2.5D turn-based RPG of battles, puzzles and exploration - amid secrets and betrayal. It's a little of…

Free to play toy soldier Battle Royale game Mini Royale enters Early Access

Mini Royale from IndigoBlue is out now in Early Access and free to play, with Native Linux support and Easy Anti-Cheat enabled..Read the full article…

WW2 shooter Squad 44 from Offworld updates Easy Anti-Cheat enabling Linux support

Offworld have updated their tactical WW2 shooter Squad 44 (formerly known as Post Scriptum) to bring a whole bunch of fixes, while do so they've also…

Ubuntu 25.04 (Plucky Puffin) Beta released

Ubuntu 25.04 is due out next month, with a Beta now live for testing so you can see all that's new and report any unexpected issues..Read the full…

Everything to grab from Prime Gaming, March 28th edition for Steam Deck / Linux

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

Starsector, one of the best space RPGs that's not on Steam had a huge update

Starsector (formerly "Starfarer") is still in development but it's been a seriously impressive game for years. Not yet on Steam or any…

Amazon Luna and Electronic Arts sign a multi-year deal, as Luna expands into more countries

Seems like Amazon are not ready to give up on their cloud gaming service Luna just yet, with it expanding into more countries and getting a big new…

Ubisoft launches new subsidiary for Assassin’s Creed and other big games with funding from Tencent

Ubisoft are attempting to turn around their fortunes, with the creation of a new subsidiary with funding help from Tencent. This new group will have…

Fixing a Steam Deck OLED bug for the Linux kernel 6.14 release was a major challenge

With the Linux kernel 6.14 out now, I noted in my quick-look overview about a bug that was fixed for the Steam Deck OLED model. Collabora have given…

New Steam Beta brings fixes for child accounts and improvements to download time estimates

Valve released a fresh Steam Beta Client update for March 27th bringing with it a few fixes, plus an interesting seeming improvement for how they…

Two classic Flash strategy games make a return in April with the Warfare Legacy Collection

The Warfare Legacy Collection bundles together two classic Flash strategy games Warfare 1917 and Warfare 1944, upgraded for modern computers and…

Stealth platformer Kiyo puts up a new playtest with improved Linux and Steam Deck support

After requesting Linux testers back in Early 2024, the sneaky stealth platformer Kiyo has a new playtest on Steam for you to try with expanded Linux…

Animated series ENA gets a video game with the free surreal adventure ENA: Dream BBQ

I'll admit I'm pretty uncultured apparently as seeing the release of ENA: Dream BBQ today led me down a bit of a rabbit hole about the ENA animated…

Obsidian RPG Pillars of Eternity got a big update, with a turn-based mode coming later this year

Obsidian Entertainment have revisited the original Pillars of Eternity, with a big bumper patch out now and plans for another big update later this…

Geo Mythica is a charming 8-bit style JRPG quest to save Earth with unique party-based combat

Love classic RPGs? You might want to check out the newly released Geo Mythica, with some great looking 8-bit styled artwork and a quite unique…

Retro sci-fi first-person shooter Viscerafest leaves Early Access in April with a huge update

Fulqrum Publishing and developers Acid Man Games and Fire Plant Games have revealed that Viscerafest, their retro styled sci-fi shooter will see a…

The Beekeeper's Picnic - A Sherlockian Adventure point and click adventure out now

The Beekeeper's Picnic - A Sherlockian Adventure from Afoot Games looks like a wonderful casual point and click adventure for you to relax with. Out…

Minecraft Spring to Life drop is out now with more mob variants and ambient features

Mojang have released the latest update for Minecraft, the Spring to Life drop. This is part of their sped-up release schedule to bring more updates…

Humble launch the Tactical Triumph and Dice and Destiny bundles both with some great games

Humble Bundle just launched two new bundles with Tactical Triumph and Dice and Destiny. Each have some pretty great looking games, so here's…

Dig up planets for skeletons and fight huge guardians in the latest No Man's Sky update

Hello Game have somehow done it again. No Man's Sky has another surprisingly large update available adding in more new content like a fossil beds to…

Triple-i Initiative returns April 10 with over 30 announcements - here's all the devs involved

The Triple-i Initiative have now announced their gaming announcement event is scheduled for April 10th, taking up only 45 minutes of your time..Read…

Monsterpatch is Pokemon meets Stardew Valley from the dev of Littlewood and Kindergarten

Monsterpatch is the latest game from Sean Young developer of Littlewood and Kindergarten, blending together Pokemon and Stardew Valley with a little…

Folkways DLC for the excellent village builder dotAGE released - here's a little interview with the developer

dotAGE is a very unique turn-based village builder that blends in roguelike survival elements. It's one that you should definitely add to your list,…

UnderMine 2 comes to Early Access in July with co-op

UnderMine 2 from developer Thorium is set to enter Early Access on July 22nd, promising to take the best bits of the fun original and expanding on…

Infinity Nikki devs are working on Steam Deck support for the Steam release

While there's no current release date for the Steam release, Infold Games are still working towards it for Infinity Nikki and it seems it may be good…

ChimeraOS Linux 48 brings new hardware support for your handhelds and living room PCs

There's a good few ways of getting Linux on handhelds and living room PCs, with ChimeraOS Linux being one of the great ones. ChimeraOS Linux 48 has…

Junk Store plugin for Steam Deck plans new release as closed-source paid software to run other stores

Junk Store may have failed to get released on Steam as Valve removed their store page, but that hasn't stopped their team working on this…

Neverwinter Nights 2 Enhanced Edition hasn't been announced yet but it just got a Steam Deck Playable rating

We know Neverwinter Nights 2 Enhanced Edition is probably coming, thanks to the previous leak, but it still hasn't actually been announced yet.…

Civilization VII update 1.1.1 adds quick move, lots of UI improvements, a new start position and lots of fixes

Firaxis Games are quickly cleaning up the messy release of Civilization VII, with more new additions now available in patch update 1.1.1..Read the…

Devs of Monster Crown: Sin Eater a 2D monster taming RPG want to 'take that concept to its absolute limits'

Studio Aurum are developing a new 2D monster taming RPG with Monster Crown: Sin Eater, a standalone follow-up to their previous Monster Crown..Read…

Mudborne is a wonderfully chilled sim about catching and breeding frogs out now

Mudborne from ellraiser / TNgineers is a wonderfully charming laid-back casual nature management sim about discovering & breeding frogs.…

HP are interested in making a SteamOS handheld as the Windows experience sucks

If you look at nearly all reviews of handheld gaming PCs that run Windows, the major problem is Windows itself. So with Valve opening up the door to…