The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: bash

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

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

News Elsewhere

Linuxtoday.com

Redefining the Public Library Using Open Source Ideas

 FOSSforce: "The patrons are quite happy using Linux to get their work done"

Linux-based pedalboard features 100+ virtual effects

 LinuxGizmos: A Kickstarter project called "MOD Duo" is an open source Linux music pedalboard with Arduino hooks and virtual pedals for 100-plus guitar and voice effects.

Should Windows 9 steal more features from Linux?

 ITworld: They say that imitation is the most sincere form of flattery, so I wouldn't blame Microsoft if they "borrowed" some of these features from Linux.

Can Commercial Linux Gaming Succeed?

Datamation: Linux games have always been one of the goals of free software.

An introduction to systemd for CentOS 7

 Linuxaria: Red Hat-based distributions are migrating to systemd because it provides more efficient ways of managing services and quicker startup times

HDMIPi, the Kickstarter-funded display for Raspberry Pi, is shipping now

 RaspberryPi: HDMIPi, the affordable 9" display for the Raspberry Pi, is being delivered to Kickstarter backers now.

How to install Arch Linux the easy way with Evo/Lution

 xmodulo: The one who ventures into an install of Arch Linux and has only experienced installing Linux with Ubuntu or Mint is in for a steep learning curve.

Red Hat Acquires FeedHenry for $82 Million to Advance Mobile Development

Datamation: Red Hat jumps into the mobile development sector with a key acquisition.

TrueCrypt Getting a New Life

eSecurityPlanet: TrueCrypt will stay alive, thanks to devotees who are forking the encryption program's code. 'Cleaned up' code will get a new name, CipherShed, and a different open source license.

GamingOnLinux.com Latest Articles

The Wine Development Release 1.7.27 Is Now Available.

Wine development team was able to produce a new experimental release today. 1.7.27 bringing many new features and as many as 22 bugfixes.

Tropico 5 Officially Released For Linux

Tropico 5 has finally been officially release for Linux, so it's time to become a dictator and see how it runs on Linux.

Double Fine’s Decision To Drop Spacebase DF-9 Is Another Huge Blow For Indie Games

Double Fine’s decision to pull the plug on Spacebase DF-9 may seem on the surface like just the latest act by a developer taking gamers for a ride, but such decisions could have huge consequences for the flourishing indie scene as a whole.

Darksiders For Linux Has A Slight Delay As Bugs Are Found

The developer porting Darksiders to Linux has sent word out to all Linux gamers waiting patiently that it hit a slight delay.

Techland Shoot Down Any Hope Of Hellraid & Dying Light On Linux

Techland's Chrome Engine 6 will support Linux, but it seems they don't yet have enough faith in Linux as a gaming platform after we spoke to them again.

Cannon Brawl Blasts Onto Linux, It's Really Good

Cannon Brawl has just been released for Linux and quite rightfully deserves a write up, as it's really quite fun.

SPACECOM Strategy Game Released, Another Day 1 Linux Release

SPACECOM is a very interesting minimalistic strategy game from Flow Combine I've had a chance to play a bit of, and I like it.

Shadowrun: Dragonfall - Director's Cut Now Available & Day 1 Linux Release

Shadowrun: Dragonfall - Director's Cut is the standalone and reworked version of Shadowrun: Dragonfall with new missions, a revamped combat system and more.

Torment: Tides Of Numenera New Video, Looks Absolutely Stunning

Torment: Tides of Numenera is another game heading to Linux from inXile entertainment that was funded on Kickstarter. They have released a new video to show off just how amazing it looks.

DoubleFine Ceasing Spacebase DF-9 Development, Releasing Code For Modders

DoubleFine has announced it will cease development on Spacebase DF-9 and release their Lua code for modders to carry the dream on.

Arena Vex, An Online Multiplayer Knockout Arena Is Out For Linux

Arena Vex, a remake of the popular Warcraft 3 map Warlock, has been officially released for Linux. Arena Vex is an online multiplayer knock-out arena with loads of intense action and tactical gameplay that’s great for LAN parties and competitive play.

Techland's Chrome Engine 6 Officially Supports Linux, Hellraid & Dying Light Possible For Linux

This may not be news for our readers who have been around for a while, but Techland's Chrome Engine 6 actually supports Linux.

GOL Cast: Furiously Counterattacking In Ground Pounders

There aren't too many collectible card games on Linux, but here's something a bit like that. Though it comes with plenty of traditional turn-based strategy along with the cards. Let's see what's in it!

Saibot Releases Doorways: The Underworld

Argentine game developer Saibot Studios has released the the third chapter of Doorways on Steam and Desura, with Linux support from the go. The game is a continuation of Doorways 1 & 2, which is also available for Linux.

Linux Games To Come In 2014, A Look At What Is Ahead

There's a lot to look forward to this year, so here's a quick reminder so that you don't get swallowed up!