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

What are configuration management tools?

opensource.com: Whether you maintain 5,000 machines or five, configuration management tools make the job easier.

MintBox Mini updated with faster AMD SoC and 8GB RAM

 hackerboards: CompuLab's Linux Mint flavored MintBox Mini Pro mini-PC updates the Mini with an AMD A10 Micro-6700T, plus BT 4.0, mini-PCIe, and twice the RAM and storage.

7 Ways Linux Users Differ from Windows Users

Datamation: Linux users are different from Windows users in attitude as much as their choice of operating system.

How to upgrade to Ubuntu 16.10 final beta from Ubuntu 16.04 LTS

ostechnix: How to upgrade to Ubuntu 16.10 (both Desktop and server) from Ubuntu 16.04 LTS and older versions.

LibreOffice Office Suite Celebrates 6 Years of Activity with LibreOffice 5.2.2

On September 28, the LibreOffice project celebrated its 6th anniversary, and what better way to celebrate than to push a new update

Linux Mint's XApps to Get Screen Blanking, Sublime-like Search Bar Lands for Xed

Softpedia: The Linux Mint leader is also announcing today, September 29, 2016, a new library called libxapp, which you can use in your applications to offer users the ability to black and unblank monitors.

25 Useful IPtable Firewall Rules Every Linux Administrator Should Know

 tecmint: Iptables uses a set of tables which have chains that contain set of built-in or user defined rules.

Canonical Launches Commercial Support for Kubernetes

"I have no doubt that Kubernetes will be one of the major container co-ordination systems," Mark Shuttleworth, founder of Ubuntu told ServerWatch.

GamingOnLinux.com Latest Articles

Steam Hardware Weekend sale, bag some cheap kit, Steam Controller now has accessories

Tags:Hardware,SteamThe Steam Hardware Weekend sale is now live and it seems Valve now sell accessories for the Steam Controller. All items are now…

'Hybrid Wars', a futuristic top-down mech shooter released with day-1 Linux support,

Tags:Action,SteamHybrid Wars [Official Site, Steam] is a rather good looking futuristic top-down mech shooter that has now officially released, and…

Stardew Valley 1.1 beta now available, you can get divorced, new maps, new crops and more

Tags:GOG,RPG,Sandbox,Simulation,SteamStardew Valley [Official Site, GOG, Steam] 1.1 beta is now available with Linux support. It has a bunch of new…

Unity have released a preview of the Unity editor with the Vulkan API

Tags:Unity3D,VulkanThis is pretty exciting, Unity [Official Site] have released a preview update build of the Unity engine with the Vulkan renderer.…

Warhammer 40,000: Dawn of War II, Chaos Rising and Retribution released for Linux, port report and thoughts

Tags:Strategy,Steam,Review,Feral Interactive,BenchmarkFeral Interactive have ported another set of cracking good games. This time we have Warhammer…

'We Are The Dwarves' now available DRM free for Linux on GOG

Tags:DRM Free,GOGWe Are The Dwarves [Official Site, GOG], an action-based tactical adventure is now available for you GOG fans in their usual DRM…

Minecraft: The Exploration Update announced, new monsters, new animals and more

Tags:Sandbox The Minecraft [Official Site] developers have announced The Exploration Update and they have already released a development release for…

'Sunless Skies', the next game after 'Sunless Sea' to support Linux, will go to Kickstarter next year

Tags:Coming Soon,Crowdfunding Failbetter Games [Official Site] have announced their next game titled 'Sunless Skies' as the follow-on from 'Sunless…

'Osiris: New Dawn', a graphically impressive multiplayer adventure and survival game coming to Linux

Tags:Survival,Steam,Early Access,Adventure,Action,Unity3D'Osiris: New Dawn' [Official Site, Steam] is a very impressive looking mix of multiplayer…

InXile Entertainment announced Wasteland 3, will use crowdfunding on fig

Tags:Strategy,RPG,Crowdfunding,Coming SoonInXile Entertainment [Official Site] have formally announced that Wasteland 3 is a thing and it will go to…

'Stash: No Loot Left Behind', the new MMO from Frogdice is now available in Early Access

Tags:Early Access,Indie Game,MMO,SteamStash: No Loot Left Behind [Official Site, Steam] is the new MMO from Frogdice that features turn based grid…

'Pavilion', the very stylish fourth-person puzzling adventure released with day-1 Linux support

Tags:Steam,Puzzle,Indie Game,Humble Store,AdventureI wrote about 'Pavilion' [Official Site, Steam, Humble Store] months ago, so it's pleasing to see…

'Niche - a genetics survival game' released with Linux support

Tags:Early Access,Indie Game,Roguelike,Steam,StrategyThanks to a GOL supporter I've had a chance to check out 'Niche - a genetics survival game'…

Fusion 3, the next generation game engine and editor from Clickteam will support Linux

Tags:Coming Soon,Editorial,Game EngineClickteam [Official Site] are the company behind some really cool tools like Fusion, previously called…

Avoid the pile-up in 'Clustertruck', a first-person platformer with day-1 Linux support, it's great

Tags:Racing,Platformer,Initial Thoughts,GOG,Action,SteamClustertruck [Official Site, Steam, GOG] released today and I've had a chance to play some of…