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

How to Install Navidrome with Docker: A Step-by-Step Guide

Learn how to set up Navidrome with Docker in minutes with this step-by-step guide, perfect for streaming your music collection effortlessly.

The post How to Install Navidrome with Docker: A Step-by-Step Guide appeared first on Linux Today.

ScyllaDB Transitions to Source Available License

ScyllaDB NoSQL database transitions to a source available license, unifying streams and offering a free tier of ScyllaDB Enterprise.

The post ScyllaDB Transitions to Source Available License appeared first on Linux Today.

13 Best Free and Open Source Java Micro-Frameworks

This article examines the best Java micro-frameworks. Micro means the framework is small, with little or no tools and libraries.

The post 13 Best Free and Open Source Java Micro-Frameworks appeared first on Linux Today.

4 Best Free and Open Source Shutdown Timers

Here’s our verdict of the tools succinctly summarized in a LinuxLinks styled ratings chart. Only free and open source software is eligible for inclusion.

The post 4 Best Free and Open Source Shutdown Timers appeared first on Linux Today.

Digital Clock 5 – modern digital clock application

One of the strengths of Linux is the vast number of small, niche utilities that are made available under an open source license. Digital Clock 5 is billed as a very customizable and beautiful clock. For this article we evaluated Digital Clock 5 using Manjaro, an Arch-based distro.

The post Digital Clock 5 – modern digital clock application appeared first on Linux Today.

Home Assistant Launches New Voice Assistant Hardware

Meet Home Assistant Voice Preview Edition – a private, open-source voice assistant designed for your home, offering sleek hardware and great customization.

The post Home Assistant Launches New Voice Assistant Hardware appeared first on Linux Today.

Puppet’s Open Source Community Plans to Fork the Program

The community around Puppet, a popular Infrastructure as Code (IaC) tool, is forking the program. Some Puppet developers say license changes by Perforce have forced them to fork the project to ensure it remains available to open source users.

The post Puppet’s Open Source Community Plans to Fork the Program appeared first on Linux Today.

Hoarder: A Bookmark and Note Taking App (Install via Docker)

Learn how to install, configure, and use the Hoarder All-in-One bookmarking app on Windows, macOS, and Linux using Docker.

The post Hoarder: A Bookmark and Note Taking App (Install via Docker) appeared first on Linux Today.

postmarketOS 24.12 Released with KDE Plasma Mobile 6.2.4, GNOME Shell 46

Highlights of postmarketOS 24.12 include updated interfaces with KDE Plasma Mobile 6.2.4, GNOME Shell on Mobile 46, Phosh 0.43.1, and Sxmo 1.17.0. The Phosh UI now supports accent colors, while the Sxmo UI switches to wofi as the new menu with smooth scrolling and line wrapping, and improves device support.

The post postmarketOS 24.12 Released with KDE Plasma Mobile 6.2.4, GNOME Shell 46 appeared first on Linux Today.

Xfce 4.20 Desktop Environment Landed in Arch’s Repos

Arch Linux users can now upgrade to the new, sleek, lightweight Xfce 4.20 desktop environment only a week after its release.

The post Xfce 4.20 Desktop Environment Landed in Arch’s Repos appeared first on Linux Today.

GamingOnLinux Latest Articles

Fan-made PC port of Star Fox 64 is out now

From the team behind PC ports of other Nintendo games like The Legend of Zelda: Ocarina of Time and The Legend of Zelda: Majora's Mask, a new PC port…

Open source evolution sim Thrive v0.8 brings more graphics improvements and new game mechanics

Thrive is an open source evolution sim built with Godot Engine, it's getting more impressive with every new release and there's another update out…

ScummVM 2.9.0 is out now for expanded retro gaming support

ScummVM v2.9.0 has rolled out as a little holiday treat bringing expanded compatibility with various retro classic for you to play on modern…

Palworld - Feybreak v0.4.11 is out now and it's a huge update

Bringing with it a whole lot of new content to play through, the Palworld - Feybreak update is officially out now ready for your holiday time..Read…

Valve released the Best of Steam - 2024 showing off the highest earners and most played games

Another year comes to a close and Valve have put up the Best of Steam - 2024, so you can go and check out what's the most popular..Read the full…

Merry Christmas and Happy New Year from GamingOnLinux

Hello there! It's coming up on Christmas now, and so GamingOnLinux will be starting to go into it's usual mostly hibernating state to take a little…

For fans of Advance Wars there's a new demo up for Warside and new release window

Something for the weekend: you can now try out a brand new demo of Warside, a game very much inspired by the classic Advance Wars and it does look…

Windows compatibility layer Wine 10.0 third Release Candidate out now

With the feature code freeze continuing, the Wine team had put up a third Release Candidate for the upcoming stable main release of Wine 10.0 coming…

Firaxis reveal Sid Meier's Civilization VII system requirements for Linux

Firaxis Games and 2K are releasing Sid Meier's Civilization VII on February 11, 2025 and now we know what power you're going to need to run it on…

Mesa 24.3.2 released with more graphics driver bug fixes for Linux

The last open source graphics driver update before the holidays is here, with Mesa 24.3.2 now available for you to upgrade..Read the full article on…

Direct3D to Vulkan translation layer DXVK v2.5.2 brings fixes for Alpha Protocol, The Sims 2, Borderlands 2 and more

Another bug fixes release is out for DXVK (v2.5.2), the project that translates Direct3D 8, 9, 10 and 11 to Vulkan. It's a big part of what makes…

Team Fortress 2 Comic issue 7 is finally, officially available

What a nice early holiday surprise. The official Team Fortress 2 comic has finally officially returned. Now you've got something to read over the…

Cult classic RPG 'OFF' is getting an expanded Steam release in 2025

A game I had honestly never heard of because I live under a rock. A cult classic RPG named OFF is getting a Steam release next year..Read the full…

Deep Rock Galactic: Survivor is getting a price increase in January 2025

Deep Rock Galactic: Survivor, the popular bullet heaven / survivor-like spin-off from Funday Games and Ghost Ship Publishing continues to be very…

The Rogue Prince of Persia will not get Ubisoft Connect and no price rise in January

Two bits of good news for gamers interested in picking up The Rogue Prince of Persia from developers Evil Empire and publisher Ubisoft, as they've…

Prime Gaming - December 20th edition round-up for Steam Deck / Linux

It's that time! Yes, again, and the last one before the holiday season. Each week Prime Gaming, part of what you get with a subscription to Amazon…

Steam Deck Verified highlights for December 2024

It's December! Time for some highlights of what's been Steam Deck Verified by Valve recently so you can find some new picks to play through..Read the…

Valve will join Lenovo at CES 2025 for the future of gaming handhelds

It seems the stage has been set for more SteamOS Linux devices to join the Steam Deck, as Valve will be partnering up with Lenovo at CES 2025..Read…

Steam Winter Sale is live and Steam Awards voting is now open

The main sales event of the year you've all been waiting for has arrived! The Steam Winter Sale along with Steam Awards voting are both now…

Sony buy up KADOKAWA shares to become largest shareholder of the FromSoftware parent company

There it is, the deal has been announced. Sony and KADOKAWA have "signed a strategic capital and business alliance agreement" that will…

Stalker 2: Heart of Chornobyl gets a massive patch with an AI overhaul and lots of A-Life fixes

S.T.A.L.K.E.R. 2: Heart of Chornobyl from GSC Game World has a huge patch out now, that attempts to fix up a lot of the disappointments and bugs with…

System76 release a refreshed Pangolin laptop with AMD Ryzen 8945HS - plus hardware on sale

A little gift to yourself for the holidays perhaps? System76 just announced their AMD Ryzen 8945HS powered Pangolin laptop upgrade..Read the full…

New Linux kernel patch submitted to improve Lenovo Legion series support including Lenovo Legion Go

Looks like we may see some improvements to the Lenovo Legion series of hardware like the Lenovo Legion Go handheld when running on Linux, thanks to a…

Steam Replay for 2024 is live to show off all those hours you played

Valve have put up Steam Replay, their end of year little look over your Steam account, so you can show off how many hours you put into games across…

Proton Experimental gets fixes for Final Fantasy XIV, Nioh: Complete Edition and more for Steam Deck / Linux

A small Proton Experimental update was released today for Steam Deck and Desktop Linux gamers ahead of the coming holiday season. Here's all that's…

Tactical Breach Wizards has a Beta with improvements for Gamepad and Steam Deck verification

Highly rated by players, Tactical Breach Wizards from Suspicious Developments is about to get even better for Gamepad and Steam Deck players with a…

In management sim COPA CITY you run events for Football teams and the developer plans Steam Deck support

A Football game where you're not on the pitch or managing the Football teams directly? Interesting. This management sim could be quite…

Check out the demo for Comet Force a quirky space arena shooter action roguelite

Was that enough genres in the title? Maybe I should have added more. Anyway, Comet Force looks fun and quirky and there's a demo out now you can…

Nexus Mods new cross-platform app v0.7.1 released finally supporting upgrades - better modding for Linux / Steam Deck

This is a big one! The new and still in development cross-platform Nexus Mods app that has Linux support just released version 0.7.1 and you no…

Fedora Asahi Remix 41 brings AAA gaming to Apple Silicon with Linux

Fedora Asahi Remix 41 is out now bringing the most polished version of Linux for Apple Silicon Macs, along with support for AAA gaming..Read the full…

The Steam Deck Stars Bundle on Steam has some top Deck Verified games for cheap

Here's your chance to get four absolutely brilliant games that are all Steam Deck Verified, have Native Linux support and at a discount too..Read the…

Crescent County is an open-world "witch-tech" delivery life-sim where you travel around on a motorised broom

Witch-tech? That's a new one. Crescent County has a really fun idea and some lovely visuals too. It's a delivery life-sim where you move to a…

Tempest Rising looks awesome and this RTS is launching in April 2025

I quite enjoyed the first initial demo of Tempest Rising, a classic RTS like Westwood used to make (Red Alert, Command & Conquer) only a lot…

A Game About Digging A Hole has you dig the stupidest biggest hole possible to find potential secrets

A Game About Digging A Hole sounds like it might actually be somewhat amusing. As the name suggests, it's all about digging down deep where you might…

Drill-ship survival game Volcanoids adds big mech spiders and tanks that drill up through the ground to say hi

I still think Volcanoids has one of the absolutely coolest ideas for a survival game, with your base being a big moving drill that burrows through…

Wilderness survival roguelike Wayward adds creature territories, deities, item stacking and lots more

Wayward is an Early Access wilderness survival roguelike that's highly rated by players, and it just had a massive update launch with…

Stoneshard major upgrade brings an upgradable fast-travel caravan system, cooking, new locations and more

Stoneshard is a very challenging open-world RPG currently in Early Access and the latest major release is a really big one..Read the full article on…

Horror scavenging game KLETKA is like Lethal Company but an elevator wants to eat you

Ready for a new horror co-op adventure? KLETKA just entered Early Access on Steam with Native Linux support and it's quite an unnerving experience to…

Little Rocket Lab is probably the cutest production-line automation sim ever

No More Robots and Teenage Astronauts recently revealed Little Rocket Lab, a cozy take on the production-line automation genre and it looks…

Chained Echoes: Ashes of Elrant expansion announced

The 16-bit style RPG Chained Echoes, set in a fantasy world where dragons are as common as piloted mechanical suits, is set to get a big expansion in…

Chilly survival game BLACKFROST: The Long Dark 2 announced

While they're finishing up work on the final bits of The Long Dark, Hinterland recently revealed the next game with BLACKFROST: The Long Dark 2..Read…

Palworld: Feybreak major update launches December 23

Pocketpair have announced the big free update for Palworld named Feybreak is set for launch on December 23, as they continue battling Nintendo..Read…

Godot Engine's 2024 Showreel shows a lot of fun stuff for the open source game engine

The cross-platform free and open source Godot Engine has another showreel up, giving you a nice look at what some developers have been making with…

KDE Plasma 6.3 will have much better fractional scaling

The KDE team continuing building up the next version of the popular KDE Plasma desktop environment, with Plasma 6.3.0 getting some great…

Linux Mint 22.1 Beta released with Cinnamon 6.4 desktop and lots of Wayland improvements

Linux Mint 22.1 is coming soon with a Beta release now available for testing, which includes the brand new Cinnamon 6.4 desktop release..Read the…

Xfce 4.20 desktop released with experimental Wayland support

After two years of work the Xfce team have release Xfce 4.20 which amongst many other things, now has very experimental Wayland support..Read the…

Windows compatibility layer Wine 10.0 second Release Candidate out now

With the Windows compatibility layer Wine now in a code freeze, they're focusing purely on bug fixes and not new features ready for the Wine 10.0…

The upcoming Lenovo Legion Go S may come with a SteamOS Linux version

The leaked but unannounced Lenovo Legion Go S seems like it will come in two different versions, and one of them may even be with SteamOS Linux like…

Direct3D 12 to Vulkan project VKD3D-Proton v2.14 out now with various performance improvements

VKD3D-Proton v2.14 is now available bringing various improvements to the Direct3D 12 to Vulkan layer that's used by Valve's Proton for running…

Turok: Origins announced and it's now a third-person shooter with co-op

Turok: Origins was announced by Saber Interactive and this time it's a third-person shooter, with an optional co-op element where three people can…