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

Articles found under tag: bash

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

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

Grouping things with AWK

By

In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line

By

There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

News Elsewhere

Linux Today

10 Things to Do After Installing Fedora 40 (Workstation)

A list of 10 things you can perform after installing Fedora 40 Workstation Edition. A curated list just for you of this release.

The post 10 Things to Do After Installing Fedora 40 (Workstation) appeared first on Linux Today.

AlmaLinux 9.4 Released, Here’s What’s New

AlmaLinux 9.4 released, seamlessly compatible with RHEL, now available for Intel/AMD, ARM64, IBM PowerPC, and IBM Z architectures.

The post AlmaLinux 9.4 Released, Here’s What’s New appeared first on Linux Today.

Dillo 3.1 Open-Source Web Browser Released After 9-Year Hiatus

Dillo 3.1 open-source web browser is now available for download with support for floating HTML elements, support for OpenSSL, LibreSSL, and Mbed TLS 2 and 3 for HTTPS, and more.

The post Dillo 3.1 Open-Source Web Browser Released After 9-Year Hiatus appeared first on Linux Today.

KeePassXC 2.7.8 Improves Bitwarden 1PUX Password Import and Passkey Support

KeePassXC 2.7.8 open-source password manager is now available for download with improved Bitwarden 1PUX import and Passkey support, as well as various UI enhancements and many bug fixes.

The post KeePassXC 2.7.8 Improves Bitwarden 1PUX Password Import and Passkey Support appeared first on Linux Today.

TUXEDO Stellaris 17 Gen6 Linux Laptop Launches with Intel Core i9-14900HX

Linux hardware vendor TUXEDO Computers announced today the TUXEDO Stellaris 17 Gen6 Linux-powered laptop with an updated Intel Core i9 series processor.

The post TUXEDO Stellaris 17 Gen6 Linux Laptop Launches with Intel Core i9-14900HX appeared first on Linux Today.

Shotcut 24.04 Brings Surround Sound Encoder and Customizable Time Formats

Experience Shotcut 24.04’s powerful new features, such as rollback and customizable time formats, for video editing.

The post Shotcut 24.04 Brings Surround Sound Encoder and Customizable Time Formats appeared first on Linux Today.

EndeavorOS 24.04 “Gemini” Brings KDE Plasma 6

Learn about the new features of EndeavourOS 24.04 “Gemini” which brings latest Kernel, KDE Plasma 6, new goodies.

The post EndeavorOS 24.04 “Gemini” Brings KDE Plasma 6 appeared first on Linux Today.

Linux Mint 22 to Boost XApp Independence, Says No to libAdwaita

Linux Mint 22 plans for a better and secure Linux experience with XApp Independence, Improved Security, and Compatibility.

The post Linux Mint 22 to Boost XApp Independence, Says No to libAdwaita appeared first on Linux Today.

VirtualBox 7.0.18 Resolves Critical Networking Bug

The just-released VirtualBox 7.0.18 fixes host crashes with bridged networks and brings Linux guest improvements.

The post VirtualBox 7.0.18 Resolves Critical Networking Bug appeared first on Linux Today.

CIQ Extends CentOS 7 Support with Bridge Service as its End-of-Life Approaches

The popular enterprise Linux CentOS 7 will soon cease to be supported, but its hundreds of thousands of users still need support. That’s where CIQ and other third-party Linux support companies come in.

The post CIQ Extends CentOS 7 Support with Bridge Service as its End-of-Life Approaches appeared first on Linux Today.

GamingOnLinux Latest Articles

Apex Legends Upheaval update live with EOS Anti-Cheat breaking it on Steam Deck / Linux

Respawn and EA have today released a major update for the popular battle royale shooter Apex Legends, which gives it an anti-cheat upgrade. Sadly…

Humble Choice has Hi-Fi RUSH, Yakuza: Like a Dragon and a Humble Store Spring Sale

The latest monthly Humble Choice bundle is up and it looks like another great package of games for you to get cheap.

Steam / Steam Deck stable client update released fixing lots of bugs

Valve have released the latest stable update to the Steam Client today for PC and Steam Deck, which fixes a whole lot of issues.

Planetiles is a beautiful blend of Tetris and Dorfromantik

Planetiles is an absolute puzzle gem from developer MythicOwl (Hexologic, Harmony's Odyssey) that gives you a wonderful blending of gameplay ideas…

Nerobi is a new gorgeous looking platforming adventure

Hitting Early Access today is Nerobi, a gorgeous looking platforming adventure that blends in what the developer says are "several elements…

Microsoft closes Tango Gameworks, Arkane Austin and others

Well, this sure is a terrible time for the gaming industry isn't it. Now it's Microsoft turn again to close multiple studios.

Ant colony RTS 'Empires of the Undergrowth' hits 1.0 in June

I haven't played this for a while, but I remember it making my skin crawl. Damn bugs everywhere. Empires of the Undergrowth is a pretty great RTS…

Pull off some slick moves in Lunar Lander Beyond on Steam Deck / Linux

Back in late April, Lunar Lander Beyond was released by Dreams Uncorporated and Atari, as another classic remake built for new audiences.

SteamVR Beta gets an SDL fix for Fedora Linux fans

Valve seem to be actually cleaning up SteamVR on Linux a bit more recently, which is kind of exciting when it's been left rough for so long.

With a few days to go Swordhaven: Iron Conspiracy is fully funded on Kickstarter

Swordhaven: Iron Conspiracy is the next game from the ATOM RPG team, inspired by the classic Infinity Engine games like Baldur's Gate, Icewind Dale…

Playtron give a bit more detail on the Linux-based PlaytronOS and their plans

So far, I've not been particularly impressed by Playtron and PlaytronOS, but I'm always keen to see more Linux-based systems and devices do well…

Hades II gets Steam Deck Verified and a surprise Early Access release

If you're a game developer I hope you weren't planning to launch soon, as Hades II just sneakily dropped into Early Access on Steam. It's also Steam…

Proton Experimental updates OpenXR and fixes Command & Conquer, The Desolate Hope + more

Valve put up a fresh Proton Experimental update today now than Proton 9.0 is officially available, with the usual assorted game compatibility…

PlayStation Remote Play for Steam Deck app chiaki4deck testing easier connections

Great news for anyone who uses their Steam Deck for PlayStation Remote Play, as the open source chiaki4deck app is testing a big upgrade for easier…

Fanatical has another fresh Build your own Platinum Collection bundle for May

Fanatical have refreshed their popular Build your own Platinum Collection Bundle, which includes a total of 20 titles to pick from to add to your…

City-building puzzler TerraScape gets controller support, Steam Deck support coming

Since I'm a big fan of stuff like Dorfromantik I've been keeping an eye on TerraScape, which just added controller support and they say Steam Deck…

PS1 love-letter survival horror game Crow Country gets Steam Deck Verified

Ahead of the release of May 9th, SFB Games have managed to get their upcoming survival horror game Crow Country that's a love-letter to classic…

Time survival roguelite in space Cozy Space Survivors is out now

For those who love to game but have little time, here's a fresh take on the whole survivor-like genre thing with Cozy Space Survivors out now.

Fantastic party-based RPG Wildermyth is getting a big new content DLC

Wildermyth - Omenroad is releasing on May 16th, adding in a whole lot of extra exciting sounding content for the popular party-based procedural…

Valve graphics dev gets Gamescope working on NVK with Explicit Sync

Valve developers have done a lot of work over the years to improve AMD GPUs on Linux, and continue to do so with the Steam Deck using AMD and it…

Monster Prom 4: Monster Con dating sim announced

Monster Prom 4: Monster Con has now been officially announced, taking the series a little more back to its dating sim roots.

Sony gives up on forcing PlayStation Network for Helldivers 2

Operation Completed? Sony announced their plans for forcing PlayStation Network accounts for Helldivers 2 have now been scrapped.

UK Government replies to petition about requiring publishers to keep games working

Recently I covered an interesting movement called Stop Killing Games, which has an aim to bring to light the issue of publishers dropping support for…

Steam PC and Steam Deck Beta released solving Proton 9 download issues

With Valve recently releasing Proton 9, as the latest major update to the Windows compatibility layer for Linux / Steam Deck, there were some…

HELLDIVERS 2 sees over 130K bad reviews on Steam as Sony double down

The HELLDIVERS 2 situation is an increasingly messy one, and it's only getting worse for Arrowhead Game Studios thanks to Sony.

Wine 9.8 released with Mono updates, ARM improvements

Another biweekly development release for the Windows compatibility layer is here, with Wine 9.8 now available.

The FUNgeon Crawlers Humble Bundle has some good loot

Fill your bag up with jewels in the FUNgeon Crawlers Humble Bundle which has some interesting looking loot inside to grab.

Men of War II releases May 15th with Linux support

Well this is quite a surprise. Men of War II from Best Way and Fulqrum Publishing releases on May 15th and it will have Native Linux support too.

Roguelite survivor game Nordic Ashes: Survivors of Ragnarok has launched

Another popular survivor-like roguelite has launched, with Nordic Ashes: Survivors of Ragnarok leaving Early Access to the big 1.0.

Nintendo DMCA nukes 8,535 GitHub copies of Switch emulator yuzu

The battle continues! The fallout is ongoing from the legal battle between Nintendo and yuzu that saw the yuzu team fold.

TUXEDO announce the desktop-replacement Stellaris 17 gen6 notebook

The Stellaris 17 from TUXEDO is a new refreshed (their sixth version) high-powered desktop-replacement notebook, with a high price and a tease of…

Classic RTS Perimeter returns as PERIMETER: Legate Edition with Linux support

Perimeter originally released back in 2004, and it's set to make a return from developer K-D Lab with the PERIMETER: Legate Edition. It's also open…

Cinematic narrative adventure Until Then delayed a few weeks

Originally due to launch on May 23rd, the cinematic narrative adventure Until Then from Polychroma Games has been delayed.

Multiplayer arcade battler Armed and Gelatinous: Couch Edition now on Steam

Jumping over from actual arcade machines, we have Armed and Gelatinous: Couch Edition now available with Native Linux support on Steam.

HELLDIVERS 2 will soon actually require a PlayStation Network account

Although the Steam page for HELLDIVERS 2 has clearly stated since release that a PlayStation Network account is required, you actually haven't had to…

Proton 9.0-1 released with expanded game support for Steam Deck / Linux

Valve today released the first version of Proton 9.0, the newest stable version of the Windows compatibility layer to run games on Steam Deck and…

NVIDIA make it easier to get GeForce NOW on Steam Deck

Showing just how popular the Steam Deck is, NVIDIA are officially making it easier to get their cloud gaming service GeForce NOW on Steam Deck.

Total War: WARHAMMER III gets the 5.0 update and Thrones of Decay for Linux

Feral Interactive have now ported over all the changes from the Total War: WARHAMMER III v5.0 update, along with support for the new Thrones of Decay…

Dark fantasy 2D platformer Saviorless is out now with a real unique style

In Saviorless, you'll explore treacherous landscapes, fight nightmarish monsters, unravel a mysterious narrative and experience dynamic gameplay as…

Promise Mascot Agency is an open world mascot management crime drama

Okay, so what the heck is this then? Kaizen Game Works (Paradise Killer) recently announced Promise Mascot Agency and the setting sounds absolutely…

Scribbly vicious action-RPG 'Death of a Wish' releases for Linux on May 9th

Developer melessthanthree has announced that Death of a Wish, their scribbly-art styled vicious hack-and-slash action-RPG, will be releasing a Linux…

TUXEDO recently revealed two more AMD Ryzen laptops

In the market for a new laptop? Maybe TUXEDO have what you need, especially if you're wanting something with AMD.

GTA 6 publisher Take-Two reportedly shutting Roll7 and Intercept Games

Well, here's another blow for the gaming industry. It's being reported that Take-Two Interactive are shutting down two studios.

Steam Survey for April 2024 shows a small dip for Steam Deck

Valve has now published the Steam Hardware & Software Survey: April 2024, and overall the movements are pretty small but there is a small dip for…

Pick up Golf With Your Friends, Trepang2, Gord, Neon Abyss and more in this bundle

There's a new Team17 Humble Bundle live and it includes a pretty interesting selection of games for you to begin stocking up for May.

Steam Deck most played for April 2024 has plenty of Fallout

Valve have revealed the most played Steam Deck games for April 2024, and to no surprise you've all be playing a whole lot of Fallout haven't you? Yes…

Bye Sweet Carole blends horror with what looks like classic Disney movies

I've no idea how I missed Bye Sweet Carole being announced a good while ago, but maybe you did too and it deserves a look because it honestly looks…

Palworld is bringing in fun new Pals for you to put to work

Pocketpair's absolute smash-hit Early Access game Palworld is set to expanding, with some new Pals being teased that will be coming sometime this…

Dr. Robotnik's Ring Racers v2.1 out with Linux support now available

Dr. Robotnik's Ring Racers is an awesome free kart racing fan game, and not only is there a new release out but the Linux version is now ready to be…

Vampire Survivors gets a AAAA update with functional doors, a train and rail kart racing

Poking a bit of fun at Ubisoft for calling Skull and Bones "AAAA", poncle have released a fresh free update to Vampire Survivors with the…