Rocky Linux from CIQ Launches Optimized Platform for AI
CIQ is now offering Rocky Linux especially purposed for large-scale AI deployments.
The post Rocky Linux from CIQ Launches Optimized Platform for AI appeared first on FOSS Force.
CIQ is now offering Rocky Linux especially purposed for large-scale AI deployments.
The post Rocky Linux from CIQ Launches Optimized Platform for AI appeared first on FOSS Force.
KDE Plasma 6.4 desktop environment is now available for public beta testing with many new features and improvements. Here’s what to expect in the final release!
The post KDE Plasma 6.4 Desktop Environment Enters Beta Testing with Many New Features app…
It’s almost like the good ol’ days of install fests and the like! ‘End of 10’ is an organization that’s making it easy for Windows 10 users with computers that can’t upgrade to Windows 11, to install Linux instead of sending good hardware to the landfi…
Read MoreBash scripting is often seen as a convenient tool for automating repetitive tasks, managing simple file operations, or orchestrating basic system utilities. But beneath its surface lies a trove of powerful features that allow for complex logic, high-performance workflows, and robust script behavior. In this article, we’ll explore the lesser-known but incredibly powerful techniques that take your Bash scripting from basic automation to professional-grade tooling.
Indexed and Associative Arrays
Bash supports both indexed arrays (traditional, numeric indexes) and associative arrays (key-value pairs), which are ideal for structured data manipulation.
# Indexed array fruits=("apple" "banana" "cherry") # Associative array declare -A user_info user_info[name]="Alice" user_info[role]="admin"
Looping Through Arrays
# Indexed for fruit in "${fruits[@]}"; do echo "Fruit: $fruit" done # Associative for key in "${!user_info[@]}"; do echo "$key: ${user_info[$key]}" done
Use Case: Managing dynamic options or storing configuration mappings, such as service port numbers or user roles.
Ever needed to reference a variable whose name is stored in another variable? Bash allows this with indirect expansion using the ${!var}
syntax.
user1="Alice" user2="Bob" var="user1" echo "User: ${!var}" # Outputs: Alice
Use Case: When parsing dynamically named variables from a configuration or runtime-generated context.
Process substitution enables a command’s output to be treated as a file input for another command.
diff
Instead of creating temporary files, this technique allows on-the-fly data streaming into commands that expect filenames.
Use Case: Comparing outputs of two commands, feeding multiple inputs to grep
, diff
, or custom processors.
Traps let you capture signals (like script termination or interruption) and execute custom handlers.
temp_file=$(mktemp) trap "rm -f $temp_file" EXIT # Do something with $temp_file
Common signals:
EXIT
: Always triggered when the script ends
ERR
: Triggered on any command failure (with set -e
)
INT
: Triggered by Ctrl+C
Use Case: Cleaning up temporary files, resetting terminal states, or notifying external systems on exit.
Round table with FSF executive director Zoë Kooyman to celebrate FSF40
Read MoreLooking for an application to play and organize classical music in Linux? Here’s one working in process. It’s Musicus, a free open-source application written in Rust programming language, and uses GTK4 plus LibAdwaita for modern user interface that’s designed for GNOME Desktop. This is a local-first application. No cloud, no account required. And, it comes […]
Read MoreThe DistroWatch news feed is brought to you by TUXEDO COMPUTERS. Michael Prokop has announced the release of Grml 2025.05, a new stable release of the project’s Debian-based live Linux system focusing on the needs of system administrators. This versio…
Read MoreArchinstall 3.0.5 Arch Linux menu-based installer is now available with support for the Labwc, Niri, and River Wayland compositors, XMonad tiling X11 window manager, and other changes.
The post Arch Linux Installer Now Supports Labwc, Niri, and River …
The post Midori: Lightweight, Fast, and Privacy-Focused Web Browser for Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Midori is an open-source, lightweight, and fast web browser designed for people who want a simple but efficient w…
Read MoreThe post OpenSnitch: The Must-Have Application Firewall for Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .When it comes to protecting your Linux system from unwanted network connections, having a good firewall is essential. While m…
Read MoreopenSUSE is not happy with Deepin desktop team.
Read MoreThe post BleachBit – A Free Disk Space Cleaner and Privacy Guard for Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .When you browse the internet, install or uninstall software, or just use your computer regularly, you leave behind l…
Read MoreThis is a step-by-step and easy-to-follow tutorial (with screenshots) to show you how to upgrade your Ubuntu 24.10 (Oracular Oriole) installations to Ubuntu 25.04 (Plucky Puffin). Here’s how!
The post You Can Now Upgrade Ubuntu 24.10 to Ubuntu 25.04, …
openSUSE has decided to not only join the End of 10 movement but it also will no longer support the Deepin Desktop Environment.
Read MoreSuriname has adopted GNU Health Hospital and Health Information System for their Public Healthcare system.
The adoption of GNU Health was announced during the press release celebrated last Friday, May 9th in Paramaribo, in the context of the coun…
Read MoreWhat makes Linux the most flexible operating system on the planet? The option to create your perfect desktop environment certainly helps. These are my favorites.
Read MoreDiscover is the application store of Kubuntu. Discover is part of KDE Applications and closely related to Plasma. By using Discover, Kubuntu user can show what programs and games are available to choose, view their details, install and remove any of th…
Read MoreDiscover is the application store of Kubuntu. Discover is part of KDE Applications and closely related to Plasma. By using Discover, Kubuntu user can show what programs and games are available to choose, view their details, install and remove any of th…
Read MoreBy all indications, Red Hat Enterprise Linux 10 — that would be RHEL 10 to most of us — was evidently overnight quietly rolled out to paying customers.
The post Red Hat Has Unofficially Released RHEL 10 appeared first on FOSS Force.
Microsoft is open-sourcing its Linux Integration Services Automation image-testing service for everyone.
Read More