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

Articles found under tag: awk

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

How to manage alternating lines of text on the command line

By

In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates

By

It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

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

How to insert code snippets on the command line without executing them

By

You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the…

Read Article

How to read a file N lines at a time in BASH: 3 methods

By

The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

News Elsewhere

Linux Today

CNCF Sics Developers on Kubernetes Patent Trolls

Patent trolls are shaking down Kubernetes developers and users, so the CNCF and friends are going after them. 

The post CNCF Sics Developers on Kubernetes Patent Trolls appeared first on Linux Today.

How to Setup Rygel Media Server on Ubuntu

Discover a step-by-step guide to setting up Rygel Home Media Server on Ubuntu and other Linux distributions running on GNOME DE.

The post How to Setup Rygel Media Server on Ubuntu appeared first on Linux Today.

g: An Elegant Alternative for the ls Command in Linux

g is a free, open-source, and cross-platform command-line alternative to the ls command that can enhance your file and directory listing experience in Linux. Discover it yourself by reading the entire article to understand its features, installation steps, and usage guide.

The post g: An Elegant Alternative for the ls Command in Linux appeared first on Linux Today.

Warehouse: The Ultimate GUI for Managing Flatpak Apps in Linux

Warehouse is a Flatpak manager that brings a GUI interface to the command-line functionalities typically offered by Flatpak. As a Flatpak-only tool, it brings much-needed usability to the flatpak ecosystem.

The post Warehouse: The Ultimate GUI for Managing Flatpak Apps in Linux appeared first on Linux Today.

10 Best Python Libraries Every Data Analyst Should Learn

In this article, we’ll explore 10 Python libraries every data analyst should know, breaking them down into simple terms and examples of how you can use them to solve data analysis problems.

The post 10 Best Python Libraries Every Data Analyst Should Learn appeared first on Linux Today.

Researchers Unearth Two Previously Unknown Linux Backdoors

ESET researchers have identified multiple samples of two previously unknown Linux backdoors: WolfsBane and FireWood. The goal of the backdoors and tools discovered is cyberespionage that targets sensitive data such as system information, user credentials, and specific files and directories. These tools are designed to maintain persistent access and execute commands stealthily, enabling prolonged intelligence […]

The post Researchers Unearth Two Previously Unknown Linux Backdoors appeared first on Linux Today.

How to Install and Use Fedora Media Writer on Linux

Fedora Media Writer is a Fedora team and community-driven effort to offer a free, open-source, and cross-platform application to write any ISO image to your flash drive (USB stick). In this article, I’ll show you how to install Fedora Media Writer on Linux (including Windows) and then how to flash the Fedora image using Fedora Media Writer.

The post How to Install and Use Fedora Media Writer on Linux appeared first on Linux Today.

Debunking Myths About Open-Source Security

Stephanie Domas, CISO at Canonical, discusses common misconceptions about open-source security and how the community can work to dispel them. She explains how open-source solutions, contrary to myths, offer enterprise-grade maturity, reliability, and transparency.

The post Debunking Myths About Open-Source Security appeared first on Linux Today.

Help Shape Debian 13: Cast Your Vote for Trixie’s Desktop Artwork

Debian 13’s desktop artwork survey is now open and awaits your vote. Before November 30, pick your favorite theme and decide on Trixie’s look.

The post Help Shape Debian 13: Cast Your Vote for Trixie’s Desktop Artwork appeared first on Linux Today.

Gaupol: Create or Edit Subtitle Files with a Free Subtitle Editor

Gaupol is a free and open-source subtitle editor that allows anyone to easily create or edit subtitle files and supports multiple subtitle formats.

The post Gaupol: Create or Edit Subtitle Files with a Free Subtitle Editor appeared first on Linux Today.

GamingOnLinux Latest Articles

Wine 9.22 released noting the 'Wayland driver enabled in default configuration'

Closing in on the Wine 10 stable release now! Wine 9.22 has been released, ahead of the first release candidate for Wine 10 in two weeks time..Read…

The Sci-Fi Shooters Humble Bundle is a top deal with System Shock, Prey, Crysis Remastered 1 - 3

Need some more first-person shooters? The Sci-Fi Shooters Humble Bundle really is a good deal, if you don't already own all the games that is..Read…

War Thunder adds stealth tech, ray tracing and graphics upgrades in the Firebirds update

Every time a new War Thunder update comes out, I think to myself: I'm finally going to progress a bit more into the aircraft research and then get…

Check out the new trailer for Truckful, a driving adventure mystery game

Truckful was revealed back in July, and the idea of it had me really intrigued and now they have a new trailer up for this driving action-adventure…

Free-to-play pixel art survival game Ruins To Fortress arrives December 13

Ruins To Fortress looks like it could be interesting, a post-apocalyptic free-to-play pixel art open survival game. The developers have announced…

Oxygen Not Included gets a Free Weekend, big update live and new DLC coming soon

Oxygen Not Included is one of my favourites from Klei Entertainment, a space-colony simulation game that's Steam Deck Verified and has full Native…

Steam Deck OLED wins Best Gaming Hardware in the Golden Joystick Awards 2024

Another year, another set of award shows. The Golden Joystick Awards 2024 have their results out now, and the Steam Deck OLED won Best Gaming…

The latest from Prime Gaming - November 22 edition - lots for Steam Deck / Linux

Here we go again! Each week Prime Gaming, part of what you get with a subscription to Amazon Prime, add and remove various games you can claim to…

Mesa 24.3.0 graphics drivers for Linux released with many new features and bug fixes

Developer Dylan Baker announced the early release of Mesa 24.3.0, the latest set of Linux open source graphics drivers full of new features..Read the…

Kathy Rain 2: Soothsayer announced and there's a demo available

Clifftop Games are back with Kathy Rain 2: Soothsayer being revealed, and they even have a demo ready for you to try it out..Read the full article on…

Dungeon Clawler will grab hold of your free time now it's in Early Access, plus keys to give away

Stray Fawn Studio developers of The Wandering Village and Nimbatus have released their latest game into Early Access with Dungeon Clawler..Read the…

Give your Steam Deck a refreshed look with these new Razer skins

Popular hardware vendor Razer have announced a couple of new fancy skins for the Steam Deck, so if you're wanting to give it a little more style…

Squad-tactics cyberpunk strategy game Cyber Knights: Flashpoint now Steam Deck Verified

The supremely cool XCOM-like squad-tactics game Cyber Knights: Flashpoint from developers Trese Brothers is now properly Steam Deck Verified..Read…

Khronos Group takes over cross-platform Slang shading language from NVIDIA

Interesting industry news here for you, especially for developers. The Khronos Group announced they've launched the Slang Initiative, taking over the…

Steam getting proper Season Pass support with clearer guidelines and refunds for cancellations

Valve have another Steam store update incoming, with seemingly proper built-in support for a Season Pass along with new guidance for developers..Read…

Valve fixes up Steam Input bug with ROG Ally X

Valve confirmed back in August they still had plans to release SteamOS 3 outside of the Steam Deck for other handhelds, and it's nice to see they're…

itch.io store now requires AI generated content disclosures for assets

With AI generated content continuing to spread everywhere, the itch.io store has made a change to now require AI generated content disclosures..Read…

Engineering puzzle game Poly Bridge 3 gets Steam Deck Verified with a major update

Highly rated, and now you can take it happily on the go, Poly Bridge 3 had a big upgrade and it's now Steam Deck Verified..Read the full article on…

Monster catcher Cassette Beasts adds Steam Workshop support and a new battle mode

Cassette Beasts from Bytten Studio is a brilliant spin on the whole monster catching genre, and a fresh update out now continues expanding it..Read…

Steam Deck update has fixes for performance issues in long sessions and Remote Play Together

Valve pushed out a new stable Steam Deck Client update which includes some pretty essential sounding bug fixes..Read the full article on…

Horizon Zero Dawn Remastered now Steam Deck Verified

Well there's a surprise. Horizon Zero Dawn Remastered from Guerrilla Games / Nixxes Software and PlayStation Publishing has been given the Steam Deck…

S.T.A.L.K.E.R. 2: Heart of Chornobyl review - works on Linux Desktop with Proton but poorly on Steam Deck

S.T.A.L.K.E.R. 2: Heart of Chornobyl from GSC Game World has now been released and after playing it pre-release, I've had a damn fun time with…

FromSoftware owner Kadokawa confirms Sony sent an 'initial letter of intent' to acquire them

Recently I covered that Kadokawa, the owner of ELDEN RING developer FromSoftware, were potentially being acquired by Sony and now Kadokawa have…

Euro Truck Simulator 2 - Greece lands December 4, SCS continue updating legacy art assets for both truck sims

SCS Software have announced that Euro Truck Simulator 2 - Greece is set for release on December 4th. Plus, they're continuing to update the visuals…

ROSE is a free rogue-lite arena shooter where you sacrifice your body parts to progress

A free game to play midweek? Why not eh? You really should check out ROSE, a violent rogue-lite arena shooter where you sacrifice your body parts to…

Vehicular combat shooter Mad Mechs looks like one to watch

With various types of customizable vehicles and dynamic maps, Mad Mechs looks like good fun if you want over the top action..Read the full article on…

Steam Controller 2 is apparently a thing and being 'tooled for a mass production' plus a new VR controller

Take this with a pinch of salt as you always do with leaks, but it appears Valve may be prepping a Steam Controller 2, along with a new controller…

NVIDIA stable driver 550.135 released for Linux

While NVIDIA continues working on new features for their 565 series, and they have their current new-feature branch 560.35.03, they also have the…

Fighting Fantasy Classics plans to add full Steam Deck support

Fighting Fantasy Classics is a library app from Tin Man Games that collects together all your favourite Fighting Fantasy gamebooks from the 1980s to…

Check out Miniatures, a short mixture of strange tales

Here's one for you if you're short on time, and want to experience something a bit unique. Miniatures released recently from developer Other Tales…

Hotloop is a twin-stick shooter where you fling yourself around using gravity from planets

Need some fresh twin-stick shooting fun? Hotloop looks like a nice one, with an interesting gravity mechanic to throw your ship around using gravity…

Sony reportedly looking to acquire Kadokawa, owner of ELDEN RING dev FromSoftware

According to a report from Reuters, Sony are currently in talks to buy Kadokawa Corporation, the owner of ELDEN RING developer FromSoftware..Read the…

The Binding of Isaac: Rebirth gets online co-op in the latest update with Repentance+

Available in Beta for The Binding of Isaac: Rebirth, is the new The Binding of Isaac: Repentance+ update that brings online co-op..Read the full…

Arcane Wilds is a western-themed fantasy RTS now on Steam

Now in Early Access, Arcane Wilds gives a slightly different take on the base-building RTS genre and comes with Linux support..Read the full article…

Steam Deck OLED: Limited Edition White and Steam Deck Australia have launched

Two big things have arrived. The first is that you can attempt to grab the sleek looking Steam Deck OLED: Limited Edition White right now, and the…

Single-player survival horror game Sorry We're Closed out now and should work great on Steam Deck

This looks awesome and quite weird, especially if you love your retro-infused games. Sorry We're Closed is the first release from à la mode…

Devs of chill arcade freeriding game SNØ: Ultimate Freeriding use the Steam Deck as their performance target

SNØ: Ultimate Freeriding is a recent discovery that looks wonderful. A chill arcade freeriding game where it's just you against the raw…

Direct3D to Vulkan translation layer DXVK v2.5.1 released fixing GTA Trilogy Definitive Edition and an anisotropic filtering regression

Following on from the rather large DXVK 2.5 update a week ago, a smaller bug-fix release is out now for the Direct3D to Vulkan translation layer used…

Unofficial PC port of Zelda: Majora's Mask, 2 Ship 2 Harkinian has a big new release out

Released originally back in May, 2 Ship 2 Harkinian allows you to play Nintendo's Zelda: Majora's Mask properly on PC and a new release just…

OpenRA for classic RTS games like Red Alert has a new playtest with enhanced visuals, revamped map editor

OpenRA is a free and open source project to play classic strategy games like Red Alert, Command & Conquer, and Dune 2000. It's also used as the…

Linux kernel 6.12 is out now with real-time capabilities, more gaming handheld support

Here it is, another big Linux kernel release is out now. Linux kernel 6.12 is an exciting one too with a big feature finally landing..Read the full…

Half-Life: Blue Shift remake mod Black Mesa: Blue Shift - Chapter 5: Focal Point released

Black Mesa: Blue Shift is a remake of the classic Half-Life: Blue Shift, made as a mod for the Half-Life remake Black Mesa. A big new update just…

Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update

To celebrate that Half-Life 2 has turned 20, Valve has made it free to claim and keep for a limited time. Not only that, but Episodes One and Two are…

Linux GPU Configuration Tool 'LACT' adds NVIDIA support

No longer just for the AMD camp, Linux GPU Configuration Tool 'LACT' has a fresh release out that brings in NVIDIA support..Read the full article on…

The Walking Dead, The Expanse and more in the Telltale Collection Humble Bundle

Now this is a fantastic deal not to be missed if you're an adventure game fan. The Telltale Collection Humble Bundle is live now..Read the full…

Inspired by SSX, arcade snowboarding game Tricky Madness is now in Early Access

After a new snowboarding game built like the classics? Tricky Madness is out in Early Access and includes Linux support..Read the full article on…

New Hearts of Iron IV DLC lets you rewrite German history, pushing player counts up to a new peak

Paradox Interactive have now released Hearts of Iron IV: Götterdämmerung, a Germany-focused expansion to their popular historical strategy…

Get a bunch of tactical games in the Kalypso Humble Bundle

In need of some more real-time strategy and role-playing games? The Let's Get Tactical Bundle could be what you're after..Read the full article on…

Hybrid gaming controller MoveMaster has a new website, shipping to the UK now available and 10% off

MoveMaster is a thoroughly odd, unique and very interesting device that you might want to take a look at to change the way you game..Read the full…

Avowed from Obsidian gets a release date, and pre-orders with earlier access if you pay £80

The continuing trend of getting you to pay more to play just a few days earlier continues. Avowed from Obsidian Entertainment does look like bloody…