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

Install Cacti (Monitoring tool) on ubuntu 15.04 server

Ubuntu Geek: Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality.

How to set up your Raspberry Pi in Mac OS X

TechRadar: Get some Apple in your Raspberry Pi

The Linux Setup - Neil McGovern, Debian Project Leader

MyLinuxRig: Neil is being modest when he calls Debian Project Leader a figurehead position.

Docker Machine 0.3.0 Deep Dive

For those of you who may not be familiar, Docker Machine is a tool to simplify the automatic creation and configuration of Docker-enabled machines

Domain Names Top 294 Million in 2015

EnterpriseNetworkingPlanet: Demand for Top Level Domains continues to grow in 2015, and new types of TLD expand their footprint.

Ubuntu Linux Lands on Intel Compute Stick

ServerWatch: Ubuntu Linux is widely deployed on desktops, servers and clouds around the world, and now it's coming to Intel's Compute Stick platform as well.

Linux Mint 17.2 Improves Desktop Experience

eWEEK:  In this slide show, eWEEK takes a look at some of the improvements in the Linux Mint 17.2 release.

StratOS Kickstarter Project Claims Full Mobile Convergence with GNOME, Likely a Scam

 softepedia: StratOS is supposed to be a new operating system that uses GNOME, and it's a project currently raising money on Kickstarter.

Debian-Based Distro OpenMediaVault 2.1 [Stone burner] is out now. Prominent Features and Installation Guide

 LinuxPitStop: OpenMediaVault is a free Network Attached Storage operating system, it is an architecture independent Linux distro; which means it can be installed on any type of hardware.

GamingOnLinux.com Latest Articles

Guess What, It's Friday Again, Stream At 5 PM UTC!

Another week has passed and it's time for our weekly livestream with games and generally mediocre commentary. So clear up your schedule, hide your…

GOL Cast: Blowing Up Raiders Mad Max-style In Convoy

So what do you get when you mix FTL and Mad Max? Well, the answer would probably be Convoy. Let's take this roguelite game for a spin and blow up…

Terra Nova: Strike Force Centauri, Another Classic Released On GOG For Linux

Terra Nova: Strike Force Centauri is a classic tactical shooter that now has a Linux version on GOG, and it's highly rated. Originally released in…

New Team Fortress 2 Update Titled 'Gun Mettle'

TF2 seems to be doing what Counter Strike Global Offensive is with limited time campaigns, and charging for them. Some of the profits do go to the…

Victor Vran Release Date Announced, Going To Be Awesome

Victor Vran is now content complete with the latest patch, and it has a full release date now too. This is an action RPG not to miss out on folks.…

Civilization: Beyond Earth – Rising Tide Official Gameplay From E3

Civilization: Beyond Earth – Rising Tide will be coming to Linux, and we now have some more gameplay to see if it's worth picking up. Aspyr…

New Linux Gaming Survey For July

It's that time of the month again Linux gamers! The new GOL survey for July is now available, so please make sure to fill it in if you have the time.…

Torque 3D Game Engine 3.7 Released, Features Linux Support

You can add Torque 3D into the list of game engines that support Linux, it's not 100% finished, but it's good to see them do it.QuoteAs if you…

Can Rogue Invader Invade Linux? Help Bring It To Linux

Rogue Invader is a new roguelite game from Squishy Games (Nathan Rees and Lee J Hinkle) that is now counting on your votes on Greenlight. And they…

LEGO Minifigures Online Released For Linux, Some Thoughts

Our very first official LEGO game is now available on Linux, but is it worth your time? I took a look with our caster Samsai. The keys were provided…

We Happy Few Will Get Linux Support

Compulsion Games just announced in their Kickstarter campaign that they'll be releasing We Happy Few for Linux. They are open about Linux not being…

ARK: Survival Evolved Released For Linux, Here's An Early Look & Thoughts

We have been waiting with a keen eye for ARK: Survival Evolved to arrive on Linux. It’s a very popular survival game with dinosaurs that is…

NEON STRUCT Stealth Game Shows Promising Linux Sales

The developer of NEON STRUCT the stealth game from Minor Key Games (Eldritch, You Have to Win the Game, Super Win the Game) has posted stats of their…

DiRT Showdown Looks Like It's Getting A Linux Release

DiRT Showdown is a highly rated racing game that looks like it's close to a Linux release, exciting times for racing fans! We don't have many racing…

3D Sandbox Puzzler 'Infinifactory' Officially Released For Linux

The sandbox factory puzzler by SpaceChem and TIS-100 developer Zachtronics has left Early Access after five months of tweaks and bug fixing.…