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

Articles found under tag: bash

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

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

News Elsewhere

Linuxtoday.com

Google delivers an early Christmas gift: Google Drive support for ODF

 ITworld: Google, in a surprise move, today announced support for ODF (Open Document Format) in its products.

What is Ubuntu Snappy?

 The Linux Rain: If you're anything like me, you've probably heard about this new thing from Canonical called "Snappy" Ubuntu Core, but at the same time trying to understand exactly what it is may leave you cross-eyed

The Grinch That Tried to Exploit Linux

eWEEK: A security vendor alleges there's a vulnerability in the Linux kernel. Developers disagree, but ironically an unrelated critical bug was found.

Google Takes Steps to Improve Gmail Security

Datamation: Content Security Policy comes to Gmail as Google search considers flagging non SSL secured web sites

OpenStack Proposes New Model for Projects and Integrated Releases

InternetNews: OpenStack Release Manager Thierry Carrez and the OpenStackopenstack Technical Committee have proposed a major overhaul to the project structure at OpenStack.

2014: The Open Source Tipping Point

Linux.com: But as we review 2014, a new story emerges: software development has fundamentally shifted toward an open source model.

KDE Applications 14.12 - New Features, Frameworks Ports

The Platform has now morphed into KDE Frameworks 5, releasing new features and bugfixes monthly.

Should We All Be Contributing to FOSS?

LinuxInsider: "What can we non-athletes do? Test software. Install it. Try it every-which-way," advised Robert Pogson. "Make suggestions. Make choices. Write documentation. Teach folks how to use the software. Write bug reports -

What is good audio editing software on Linux

 xmodulo: Whether you are an amateur musician or just a student recording his professor, you need to edit and work with audio recordings.

GamingOnLinux.com Latest Articles

Mount And Blade: Warband DLC "Viking Conquest" Is Out

A new DLC for Mount And Blade: Warband has been released to mixed reception due to it being rather buggy, but it did come with Linux support as standard.

Civilization: Beyond Earth Released For Linux, On Sale & You Can Win Some Keys

Aspyr Media have done it again! Civilization: Beyond Earth is now officially available for Linux, and we have keys to throw through the screen.

New Minecraft Game Announced Coming From Telltale Games, Linux Status Unknown

Minecraft: Story Mode is a brand new adventure being created around Minecraft, but sadly Linux has been left out in the cold it seems.

Endless Legend Will Come To Linux, Suffering Delays

Thanks to our supporter, FutureSuture, we have word that Endless Legend will still come to Linux, but it has suffered delays.

Move Crates In Odd 3D Platformer 'Job Lozenge'

It's no easy job to explain exactly what Job Lozenge is. That it's a game out of the ordinary is certain though.

Windows Games On Linux, WINE & PlayOnLinux

Although WINE is a difficult beast to tame, it can be done quite effectively with a little help from a program called PlayOnLinux

New EU Tax Rule Could Ruin A Lot Of Indie Developers

Not something we cover very often, but it seems the EU is introducing new rules that could really ruin things for indie developers. It could also cause price changes across many stores.

Interstellar Marines Update 16 “Assault On Starcrown Aerospace” Is Live

One of my favourite tactical FPS games on Linux just released an update that adds the second campaign map to the game, along with some gameplay fixes.

SuperTuxKart 0.8.2 Beta Released

This update hauls the new graphical engine "Antartica". The highlight of this new engine is the improved light and shadow rendering which makes STK 0.8.2 looks much better than previous versions.

Gorgeous Stealth Platformer 'Fossil Echo' Is Coming To Linux, Trailer Has Been Released

Fossil Echo is a hand-animated game about a boy on a great journey to reach a giant tower in the middle of the sea. It's influenced by the Oddworld series, Ico and Studio Ghibli films.

Deadnaut From Screwfly Studios Needing Linux Feedback

Screwfly Studios second game 'Deadnaut' is looking to come to Linux, but their new Linux demo needs some testing and feedback first. Get to work people!

Hearthlands City Builder Now On Steam For Linux

Hearthlands is the fantastic looking city builder in early access that we took a look at recently, and it is now on Steam.

Civilization: Beyond Earth Arrives On Linux This Thursday

Aspyr Media have announced that the Linux version of Civilization: Beyond Earth will release on Thursday at 12PM CST/6PM UTC.

Kerbal Space Program Goes Beta, Beta Late Than Never

Kerbal Space Program has been updated again with a huge update, and brings it into the "beta" phase of development. They will now start to implement the final major components to career mode.

Godot Engine 1.0 Is Out, Open Source Game Engine & Editor

The newly open-sourced game engine Godot received its first major release today! In the middle of the winter game-jam too, even though the release candidates have been out for a week or so.