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

Articles found under tag: linux-shell

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

News Elsewhere

Linuxtoday.com

4 step Network bonding / teaming configuration in Linux

This article explains what network bonding is in Linux.

Recent open source hardware trends, from SBCs to servers

At ELC Europe, Intel MinnowBoard SBC evangelist John Hawley surveyed open hardware trends, and their impact on OS-enabled device and system development.

Peek - A Simple Animated Gif Screen Recorder for Linux

FOSSmint: Peek Gif Recorder is the perfect screen capture tool for short and sharp video clips

What to do when people start hacking your culture

When organizational rules exist, people will try to game them.

How To Instantly Share Files And Folders In Arch Linux

Quickserve is a simple http server that allows you to share files quickly between Arch Linux systems and/or other operating systems.

How to create your own Linux Distribution with Yocto on Ubuntu

HowToForge: In this article, our focus is the creation of a minimal Linux distribution using the Yocto project on the Ubuntu platform.

Inxi - A Powerful Feature-Rich Commandline System Information Tool for Linux

tecmint: Inxi is a powerful and remarkable command line-system information script designed for both console and IRC (Internet Relay Chat).

Thanks To Red Hat, India's Biggest Stock Exchange Is Now The World's Fastest

"Red Hat is now our backbone. Our business cannot run if Red Hat is not there." That is India's biggest stock exchange's CEO talking.

RPi-friendly home automation kit adds voice recognition support

 LinuxGizmos: Matrix Labs launched an Indiegogo campaign for "Matrix Voice," a voice input board that works standalone, or in conjunction with a Raspberry Pi or UP SBC.

GamingOnLinux.com Latest Articles

Feral Interactive will livestream DiRT Rally on March 1st

Tags: Feral Interactive, LivestreamFor those wanting to see DiRT Rally on Linux for the first time ever, Feral Interactive will be doing a livestream…

Looks like the Serious Sam 4 release date may have been shown in an 'easter egg'

Tags: Action, Coming Soon, FPS, SteamInside Serious Sam VR: The Last Hope is an 'easter egg' that may give the release date of Serious Sam 4. This is…

Reminder: Update your PC info for the next round of statistics updates

Tags: Site Info, SurveyThis is your once a month reminder to make sure your PC information is correct on your user profiles. A fresh batch of…

Aspyr Media confirm the 'Australian Summer' Civilization VI update should be on Linux in 'a matter of weeks'

Tags: Aspyr Media, Coming Soon, DLC, Strategy Today the 'Australian Summer' update landed for the Windows version of Civilization VI [Steam], but the…

Northgard, a great looking strategy title will come to Linux after Early Access

Tags: Early Access, Steam, StrategyThe developers of strategy game Northgard [Steam] have confirmed their plans for a Linux version, they already…

Friday Livestream with Samsai at 6 PM UTC!

Tags: LivestreamThe time has come once again! I welcome you to our weekly Friday Livestream where we will play games and talk nonsense for a bit over…

The latest elusive target is live in HITMAN, including in the Linux version

Tags: Feral Interactive, Stealth, SteamThe latest elusive target in HITMAN [Steam] is now available to try and take down! The good news is that Feral…

Entroware have unleashed the 'Aether' laptop for Linux enthusiasts featuring Intel's 7th generation CPUs

Tags: HardwareEntroware, the UK-based Linux hardware vendor have released a new laptop named 'Aether' and it's quite the little beast. Entroware are…

Security: You might want to change passwords on sites that use Cloudflare

Tags: MiscNot gaming news, but still important to get across. Cloudflare has written a blog post detailing a security issue that was identified which…

Angels with Scaly Wings, a visual novel that's actually not bad at all

Tags: Review, Visual Novel, Steam, Indie GameIf you need to know something about me, it's that I usually hate visual novels with a passion. They…

Wells, a steampunk run and gun game released for Linux and I took a look, it's not good

Tags: Action, Steam, Indie Game, ReviewToday I tried to play Wells [Steam], a new steampunk run and gun action game, but sadly the experience wasn't…

SuperTuxKart is trying to get on Steam, be sure to give it a vote

Tags: Open Source, Steam, Racing, GreenlightThe open source racer SuperTuxKart is aiming to get on Steam before Greenlight is closed, so be sure to…

Crusader Kings II - Monks and Mystics DLC announced

Tags: Coming Soon, DLC, Steam, StrategyParadox are going to give some fresh life to Crusader Kings II with a new DLC named 'Monks and Mystics'…

Serious Sam VR: The First Encounter is now officially on Linux

Tags: Action, FPS, Steam, Virtual Reality Croteam being awesome as usual, as promised Serious Sam VR: The First Encounter is now officially on Linux.…

Valve have announced 'Steam Audio' an SDK of advanced audio tools, it will support Linux

Tags: Steam, ToolkitValve have ripped the lid off their latest project named 'Steam Audio', an SDK of advanced audio tools that will support…