Articles found under tag: linux-shell

headimage

Tips on Tables

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

A Pivot Table In AWK

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Why I (sometimes) love regular expressions

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Scripting a 'Find-and-Replace' for big text files

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Multiple-item data entry with YAD

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Scripting an OCR text archiver for Trove

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

How to kill blank lines elegantly

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Building a gazetteer table from KML files

Posted in Tutorials

By Bob Mesibov

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 full article

Linuxtoday.com

Backtick (`) symbol in Linux Shell Scripting

 nextstep4it: The backtick allows you to assign the output of a shell command to a variable.

Mozilla Thunderbird 31.0 Officially Released with Lots of Fixes and Important Changes

 softpedia: Developers have actually made a number of improvements to the application.

Catbird 6.0 Provides OpenStack Cloud Security Policy Automation

 The VAR Guy: Catbird 6.0 enhances the security of OpenStack private and hybrid clouds through automated security policies, providing compliance assurance for enterprises.

Project fosters free, open, secure, public hotspots

 LinuxGizmos: The Electronic Freedom Foundation (EFF) has released an experimental hacker alpha version of a proposed new open source wireless router stack that supports secure, shareable WiFi networks

Best Linux Browsers

 Datamation: Choosing the best Linux browser for your needs requires just a bit of homework

The world's most secure OS may have a serious problem

The Verge: The Tails operating system is one of the most trusted platforms in cryptography, favored by Edward Snowden and booted up more than 11,000 times per day in May.

Install Google Docs on Linux with Grive Tools

LinuxUser: Grive Tools now covers more distros, so here’s how to get Google Drive on Ubuntu, Fedora and OpenSUSE

Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box

sitepoint: This quick tip will show you how to get it installed on a Vagrant box so you too can experiment with its features.

Open Source Wireless Garden Kits

postscapes: There are three versions of Open Garden available, with sensors and other equipment customized for indoor, outdoor, or hydroponic growing.

GamingOnLinux.com Latest Articles

Get CD Projekt RED To Answer Questions About The Witcher 3 For Linux

An interesting opportunity has arisen for Linux gamers to find out if The Witcher 3 is going to come to Linux, and if it's native or not.

Valve Have Another New Design For The Steam Controller

Thanks to the quick tweeting work from SteamDB we now know Valve could be changing their controller yet again.

Interview With Aspyr Media About Civilization V & Linux Gaming

A little treat today folks as I had a chance to talk with Michael Blair from Aspyr Media on a few different bits relating to Linux gaming and their Civilization V port.

Warhammer Eternal Crusade MMO Will Gain A Linux Version

An upcoming MMO in the Warhammer series is set to gain a Linux version thanks to comments made from the lead developer.

Valve Looking For A SteamOS Engineer

Here's your chance to work on something that could change the gaming industry! Valve are looking for a new team member to work on SteamOS.

Terraria Moves Even Closer To A Linux Release

You may remember we did an article recently about the developers of Terraria looking into a Linux port, but it wasn't 100%. Well I think we can call it close too 100% now...

Sandbox Game Maker Coming Soon To Steam

Platinum Arts Sandbox Game Maker is an interesting 3D game engine that is based on Cube2 to allow you to create games easily, and edit them real-time in the game itself.

OlliOlli Brings Skatboarding And Arcade Fun Together On Linux

Back yonder in the days of yore, I poured hour after hour into my Tony Hawk games on the PS2. It was a catharsis long forgotten until now. Roll7 brings me back a bit with their title OlliOlli: a 2d retro skate-em-up. Unlike the skating games I used to play, OlliOlli drops world exploration for a more arcade-like experience focusing on keeping your combos up and your speed high.

Halfway Turn Based Strategy Released For Linux, It's Good

Halfway is the brand new game from Robotality that promises to be a beautiful space sci-fi turn base strategy. We have a hint for you: It's good.

Star Ruler 2 4X-RTS Released On Steam For Linux

Star Ruler 2 looks like a fantastic space 4X-RTS game currently in Early Access on Steam, and luckily it comes with a Linux build too.

Sokobond, A Puzzle Game Involving Science Released On Steam For Linux

Sokobond is an interesting take on the puzzle genre that involves science, and it looks rather nice.

GOL Cast: Hacking Looters To Pieces In Mount & Blade: Warband

I really like roleplaying games and I'm always on lookout for new RPGs to play, especially if they are native. You can probably imagine how happy I was when I heard that we'd be getting a new one in the form of Mount & Blade: Warband. Well, let's see if it's any good!

The Long Dark A Post-digital Survival Game To Be On Linux At Launch

The Long Dark promises to be an interesting take on the survival game genre with an "original" art style. It does look pretty good, and the final version will be on Linux.

Mother 4 An RPG & Fan-made Sequel To Mother/Earthbound Coming To Linux

Mother 4 is a traditional RPG set in an idealized vintage America, following the adventures of a young boy and the leader of a biker gang, who get caught up in the whirlwind events surrounding a group calling themselves the Modern Men.

Clockwork Empires From Gaslamp Games Should Be On Linux In August

Clockwork Empires is the next game from the developers behind the hit Dungeons of Dredmor, and they are nearing a Linux release!