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

Encrypt Your Dog (Mutt and GPG)

LinuxJournal: For those of you who aren't acquainted with it, Mutt is a command-line mail client (some would say Mail User Agent or MUA) that is highly configurable and uses vi key bindings that so many of us know and love.

Kano Ships Its First 18,000 Learn-To-Code Computer Kits, Fueled By $1.5M Kickstarter

TechCrunch: The kits cost $99 (plus shipping) to crowdfunder backers, or around $160 (plus shipping) if pre-ordered on the Kano website.

How to Organize Your Linux File System for Clutter-Free Folders

Linux.com: Most all modern Linux systems go a long way to help you avoid cluttered folders.

The Xen Vulnerability That Rebooted the Public Cloud

eWEEK: By getting all the major cloud providers fixed before the flaw was publicly disclosed, the Xen Project likely saved the IT world from a major security nightmare.

An Open Source Solution to Shellshock

eSecurityPlanet: An open source tool can mitigate risks associated with Bash shell attack.

Secure Your Linux Desktop and SSH Login Using Two Factor Google Authenticator

 Nixcraft: It is a little known fact that you can use the TOTP algorithm to secure your user accounts in Linux systems.

Start-Up StackEngine Promises Automation for Docker Container Apps

 The VAR Guy: StackEngine, which says it is building solutions for automating the deployment and maintenance of container-based virtual apps such as Docker's, has announced seed funding.

Android DBMS adds bidirectional sync

 LinuxGizmos: ITTIA has added bidirectional sync to ITTIA DB SQL for Android

Using GNOME Boxes to create and access local virtual systems on GNOME 3.14

 LinuxBSDos: GNOME Boxes is a native GNOME 3 application for accessing remote machines and local virtual systems

GamingOnLinux.com Latest Articles

Stronghold 3 Gold For Linux Released

Fans of strategy games will be pleased. Stronghold 3 has been released for Linux and joins the ranks of the many.

Dex, A Side-scrolling Open-world RPG Now On Linux

Dex is a beautiful looking side-scrolling RPG from Dreadlocks Ltd that has just landed on Linux. It's currently in Early Access, so remember to watch out for those bugs!

Calling All Web Designers, We Need A New Look

To be honest: I suck at any form of design. GamingOnLinux is in need of a super web guru to make a new look for us, so could that be you?

Survival Game Rust Now Using The Experimental Branch By Default

The developers behind the hit survival game Rust have been hard at work on their next-generation branch and it is now the default. It brings a lot of changes with it.

New Patch Out For The MOBA Strife, Featuring Three New Heroes

Strife is the new MOBA from S2 Games that's free to play. They are quickly adding to the game and this patch is no different with three new heroes to try out.

Civilization: Beyond Earth New Game-play Trailer

As if we didn't have enough to look forward to a wild Civilization: Beyond Earth game-play trailer appears! It's super effective!

Counter Strike: Global Offensive Updated, Improves Linux Stability

Counter Strike: Global Offensive was recently released for Linux gamers to much fanfare, but the client was a little on the flaky side. Thankfully as we know Valve support their games very well and have just put out a new update to improve it for us.

Super Win The Game Releases Today For Linux

Fans of exploration platformer You Have to Win the Game can finally get their nostalgia sunglasses on for a new bout of precision platforming as the sequel, Super Win the Game, releases on Steam for Linux today.

Borderlands: The Pre-Sequel Opens Up For Pre-orders And Aims For A Same-day Linux Release!

Borderlands: The Pre-sequel has not only opened up pre-orders for Linux, but it seems it will have a same-day Linux release. This follows on from the fact that Borderlands 2 has just received a Linux release.

Borderlands 2 Released For Linux With A Sale

The day has landed folks. Borderlands 2 is now officially available for Linux and it brings us some excellent FPS action.

Warlocks Needs A Hand On Kickstarter

Warlocks is an awesome looking pixel art action game on Kickstarter that needs a bit of help. Slay monsters. Defeat epic bosses. Collect magical gear. Become a Warlock and save the universe.

Outland A 2D Platformer Coming To Linux!

Outland is a 2D platformer with action game elements developed by Housemarque and published by Ubisoft.

Game Saves Are Messing Up Our Drives!

I am writing this in the hopes that someone who can do something about this, reads it. eg. Valve and all game devs I guess.

Cosmochoria Released For Linux In Early Access, It's Fun

Cosmochoria is a funny little game that puts you in the space-suit of little naked cartoon cosmonaut who jet packs around space.

GOL Cast: Heavy Bombardment In Cannon Brawl

I guess it's time to come back from the cruel wasteland and take a look at this simple yet fun indie strategy game that is not quite like anything I've seen before.