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

Articles found under tag: tutorial

How to manage alternating lines of text on the command line


In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates


It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

Read Article

How to garble


In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed


In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

Grouping things with AWK


In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line


There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker


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

How to repeat a script, or not


I have a data-entry script which adds records to a plain-text data table. It's a fairly complicated script with a GUI dialog, and until recently it added one record at a time. To add another record, I had to launch the script again. Was there a simple way (I asked myself) to re-run the script, or…

Read Article

On dates and stuffed non-dates


Nothing gives my wife the Screaming Meemies like dates in spreadsheets. Unless she formats the target cell in advance as text, the spreadsheet will turn a perfectly innocent, non-date string like 23/2/6 into '23-Feb-2006'. When she types 6420-11-3, according to both LibreOffice Calc and Gnumeric,…

Read Article

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


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

News Elsewhere

BSIMM's Data-driven Approach to Software Security

 eSecurityPlanet: The Building Security in Maturity Model's sixth edition features recommendations gleaned from software security practices of more than 100 companies.

Mirantis and FusionStorm Partner on OpenStack Datacenter Appliances

 The VAR Guy: Mirantis, the OpenStack vendor, and datacenter company FusionStorm have joined forces to provide "turnkey" open source cloud computing solutions for the enterprise.

Will open source Qora solve Bitcoin's biggest problems? A core developer behind the open source cryptocurrency Qora explains how blockchain technology will revolutionize everything.

How to install Nginx as Reverse Proxy for Apache on Ubuntu 15.10

 HowToForge: Nginx is not just a web server, it can be used as a reverse proxy for many protocols

Vendetta Curse of Raven's Cry Is Another Sad Linux Game Port

Phoronix: The minimum requirements are Ubuntu 15.10 with "OpenGL version 2.0" and a graphics card that's GeForce GTX or Radeon HD 5000 series with at least 1GB of video memory.

Android Studio 2.0 preview gives developers instant preview of code changes

el reg: Latest developer tool also adds GPU profiler, Java to native debugging

Cisco Evolves IOS XR Network Operating System with Linux

Enterprise Networking Planet: Working together with hyperscale web companies, Cisco has enhanced its networking operating system to be more open.

How To Use Regular Expressions In grep Command

 nixcraft: Linux comes with GNU grep, which supports extended regular expressions.

Asus Chromebit CS10: Chrome OS on a stick

 LinuxBSDos: It's about the size of a candy bar and as you can already guess from its name, it runs Google's Chrome OS, the same Cloud-based operating system that powers Chromebooks and Chromeboxes. Latest Articles

The Zotac Steam Machine ZBOX NEN SN970 impressed OC3D in their review

Tags:Steam,Review,Hardware,Editorial Some good news about the whole Steam Machine parade, OC3D did a pretty long review of the ZBOX NEN SN970 and…

Western style top-down shooter '12 is Better Than 6' released on Steam for Linux

Tags:Steam,Initial Thoughts,Adventure,Action12 is Better Than 6 was funded on Kickstarter last month and is already available as a full release on…

Wine 1.8-rc2 released, brings more stability

Tags:Open Source,WineThe Wine developers are continuing towards a stable 1.8 released, and they have released Wine 1.8-rc2. They have fixed a total…

You there, come watch the Friday Livestream at 6 PM UTC!

Tags:Site InfoAfter a long week of exams (school stuff, not medical) I'm glad I can finally sit down and relax a bit while playing video games.…

GOG have put up some serious classics for Linux, such as Cannon Fodder

Tags:Retro,GOG,DRM Free I do love GOG for their classic games, and what a delivery they have for us today, wow! Cannon Fooder 1 & 2, Leisure Suit…

Our Games Republic store has a sale on, and we have an extra discount for you

Tags:Game Sale For those who don't know already, we have our own store on Games Republic (we get a small cut!). Since it's 'Black Friday' we also…

A 2015 Thanksgiving Retrospection About The Open Source Project 'xoreos'

Tags:Open Source,Game Engine,Editorialxoreos is a FLOSS project aiming to reimplement BioWare's Aurora engine (and derivatives), covering their games…

0 A.D. Alpha 19 “Syllepsis” Released

Tags:Strategy,Open SourceA new alpha release of the open source RTS 0 A.D. has just been released. The new release has various technical improvements…

Feral Interactive have a big sale on their store

Tags:Game Sale Here's an easy chance to snap up some cheap ports from Feral Interactive, as they have discounted their games until November 30th.…

Dying Light's DLC The Following will be on Linux, price set to rise soon

Tags:Zombies,Survival,Steam,RPG,DLC,Coming Soon,Action I have it straight from the developer that Dying Light's DLC The Following will be on Linux,…

Doorways: Holy Mountains of Flesh tested on Linux, very freaky

Tags:Adventure,Early Access,Horror,Steam Today I decided to have a glass of man-up juice and actually play Doorways: Holy Mountains of Flesh. It's…

Hollow Knight looks like exactly the type of action platformer I would play on Linux

Tags:Action,Coming Soon,DRM Free,Platformer,SteamHollow Knight's trailer took me by surprise, not only do the graphics and animations look really…

GhostControl Inc, the ghost hunter turn-based strategy game has a big update

Tags:Indie Game,Steam,StrategyGhostControl Inc is a pretty cool idea, and one to try for fans of things like XCOM and Ghostbusters, the developers…

Empire TV Tycoon released for SteamOS & Linux, manage your own TV channel

Tags:Simulation,Steam,StrategyEmpire TV Tycoon has just today put up their Linux version after sorting out some issues, and I can't wait to give it a…

A big Steam sale is now on, get some cheap games for Linux & SteamOS

Tags:SteamHeads up cheapo hunters, as Steam has a big sale on right now that lasts until December 1st. I've highlighted some deals I think are pretty…