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 and Use The Signal Encrypted Messenger App

Linuxconfig: Do you wish there was a more secure option for sending text messages and even making calls from your phone?

Valve may be adding support for using compatibility tools for playing games on different operating systems

GamingOnLinux: Valve might be adding support for compatibility tools to enable you to play games on operating systems they weren't designed for, like Wine.

How to Disable SELinux on CentOS 7

SELinux (Security Enhanced Linux) is a Linux kernel security module that allows administrators and users more control over access controls.

Three More Intel Chip Exploits Surface

itprotoday: Not that we needed it, but there's more evidence today that Intel has been playing fast and loose with security in order to stay ahead of the fast-chip competition.

How to display data in a human-friendly way on Linux

NetworkWorld: Many Linux commands now have options to make their output a little easier to digest.

How to Schedule Tasks on Ubuntu 18.04 Using Crontab

Learn how to run programs at a specific time or in a given interval on Ubuntu by using the crontab

How to Install Prometheus and node_exporter on CentOS 7

Prometheus is an open source monitoring system that allows you to collect metrics from any configured target system.

How to limit CPU usage with CPULimit on Ubuntu Linux

 Learn how to limit CPU usage in Ubuntu 18.04 LTS.

How To Install Asterisk on CentOS 7

Asterisk is the most popular and widely adopted open source PBX platform that powers IP PBX systems, conference servers and VoIP gateways.

GamingOnLinux Latest Articles

NVIDIA are working towards better support for NVIDIA Optimus on Linux

Tags: NVIDIA, DriversThanks to a little Twitter tip, we've learned today that NVIDIA are indeed working to provide better support for NVIDIA Optimus…

CnCNet are providing Red Alert & Tiberian Sun with an updated renderer using OpenGL for better Wine support

Tags: Wine, Free GameA little different to what OpenRA [Official Site] are doing with updated gameplay on an open source game engine, CnCNet…

Boyfriend Dungeon, an action-RPG dungeon crawler where the weapons transform into people is on Kickstarter

Tags: Indie Game, Dungeon Crawler, Action, RPG, CrowdfundingBoyfriend Dungeon [Official Site] from Kitfox Games (Moon Hunters) promises a rather…

Graveyard Keeper from Lazy Bear Games and tinyBuild is out with same-day Linux support

Tags: Humble Store, GOG, Steam, RPG, AdventureGraveyard Keeper is a slightly amusing game that has you manage a medieval graveyard while facing…

Daedalic Entertainment's futuristic thriller 'State of Mind' is out with day-1 Linux support

Tags: Humble Store, GOG, Steam, Adventure, Indie Game, Cyberpunk, Unreal EngineGood stuff from Daedalic Entertainment here as they've released State…

Crazy Justice to finally enter Early Access with Linux support on August 23rd

Tags: Action, Battle Royale, Steam, Indie Game, Early Access, Unreal Engine, Free GameCrazy Justice [Steam, Official Site], the third-person shooter…

First-person grappling-hook platformer 'The Free Ones' is out with Linux support, it's pretty good

Tags: Platformer, Steam, Indie Game, Review, AdventureThe Free Ones is a first-person platformer that sees a slave escape from captivity and it's out…

Top-down 3D action-adventure game Sikanda gives you a shape-shifting weapon

Tags: Action, Adventure, Crowdfunding, Indie GameSikanda seems like a pretty interesting top-down action-adventure, one that gives you a…

Time Traveling Raptors is a 16-bit inspired action-platformer where you're trying to fix the timeline

Tags: Crowdfunding, Indie Game, Action, PlatformerTime Traveling Raptors looks all kinds of nuts, an action-platformer where you're facing people as…

Prepare to set sail as seafaring strategy game 'Nantucket' is now officially supported on Linux

Tags: Strategy, Steam, Humble Store, Indie GameAfter being in Beta since April, Picaresque Studio have now given the Linux version of the seafaring…

Isometric university management game 'UniverCity' has entered Early Access, developed on Linux

Tags: Steam, Indie Game, Early Access, SimulationUniverCity from developer Matthew Collins who develops on Linux is a new in-development university…

The Humble Jackbox Party Bundle is out, some of their games have hidden Linux beta versions

Tags: Humble Store, Game Bundle, BetaA quick tip for those who love their party games as Humble have put out the The Humble Jackbox Party Bundle. To…

Valve may be adding support for using compatibility tools for playing games on different operating systems

Tags: Valve, SteamReddit seems to be buzzing with information from SteamDB (full credit to them for finding it) showing indications that Valve…

The Linux version of Moonlighter should be out soon, in the 'last stage'

Tags: Coming Soon, Action, RPG, Rogue-lite, UnityThe action RPG Moonlighter [Official Site] seemed really interesting with the shopkeeper element to…

TANGLEWOOD is a properly retro puzzle-platformer that's now out for Linux, includes a Mega Drive rom file

Tags: Puzzle, Retro, Platformer, Steam, Indie GameBig Evil Corporation have released their puzzle-platformer that really is rather retro and not just…