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

By

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

By

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

By

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

By

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

By

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

By

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

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

How to repeat a script, or not

By

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

By

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

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

News Elsewhere

Linuxtoday.com

Rackspace Partners with Red Hat for Private OpenStack Cloud Deployment

ServerWatch: In a podcast interview, Darrin Hanson, vice president and general manager of OpenStack Private Cloud OpenStack at Rackspace, discusses why his company is making the move now and what it means for the state of private cloud deployments.

LibreOffice 5.1 Looks Better and Plays Nicer with Other Office Apps

The VAR Guy: LibreOffice 5.1, the latest release of the open source office productivity suite from the Document Foundation, brings interface and compatibility updates.

Linux Commands to manage Local Accounts - useradd, usermod, chage & passwd

 LinuxTechi: User administration is one of the important task of Linux system administrator.

How to run Windows programs on Linux with CrossOver

 ZDnet: Want to move to Linux, but there's this one application that's keeping you stuck on Windows?

Three tools to scan a Linux server for Malware and Rootkits

 HowToForge: Servers connected to the internet are seeing a constant level of attacks and scans all day.

Maru, the Debian for Android Project, Goes Open Source

The Maru project promises to bring an Android-based one for the phone that transforms into a Debian-based operating system when connected to a PC.

An Introduction to SELinux

Linux.com: SELinux has three modes (which can be set by the user). These modes will dictate how SELinux acts upon subject request.

Microsoft Continues to Use Software Patents to Extort/Blackmail Even More Companies That Use Linux, Forcing/Coercing Them Into Preinstalling Microsoft

 techrights: Acer is the latest large OEM to have become a victim of Microsoft's witch-hunt against Android/Linux preloaders

Linux-ready dev board beats BeagleBoard-X15 to the AM5728

Elesar's "Titanium" is a feature-rich board based on TI's AM5728 SoC, featuring dual Cortex-A15, dual DSP, and dual Cortex-M4 cores, plus a dual-core GPU.

GamingOnLinux.com Latest Articles

XCOM 2 strategy game reviewed on Linux

Tags:Strategy,Steam,Review,Feral InteractiveXCOM 2 has been well reviewed for Windows, but exactly how is it on Linux? I spent many hours defending…

Friday Livestream will greet you once again at 6 PM UTC!

Tags:Site InfoI for one am particularly happy that it's Friday today. My studies have been stressing me out a little bit so it's good to relax a…

Dying Light hotfix released, should fix major texture issue on Linux, no co-op fixes yet

Tags:Zombies,Steam,RPG,Action Well, looks like Techland are at least paying some sort of attention to their Linux port, not much mind. They just…

Nvidia pushes more OpenGL and Vulkan blog posts for developers

Tags:EditorialNvidia have published two more blog posts about both Vulkan and OpenGL, "Transitioning from OpenGL to Vulkan" and "OpenGL like Vulkan".…

Sunless Sea looks like it may get an official Linux build, game looks creepy & awesome

Tags:Survival,Steam,Sandbox,Humble Store,GOG,Coming Soon,Adventure I've been keeping an eye on Sunless Sea for a long time, as it looks really quite…

Xenonauts 2 being made, developer tells us should be on Linux

Tags:Coming Soon,StrategyIf XCOM just isn't enough alien vs human strategy for you, Xenonauts 2 is now also being created and the developer confirmed…

Frozen Synapse 2 announced, dev confirmed to us it will be on Linux

Tags:Coming Soon,StrategySorry for being a bit late on this, but a few days ago I asked the developers mode7 if Frozen Synapse 2 will be on Linux,…

Firewatch: first impressions

Tags:Initial Thoughts,AdventureVideo by Xpander. Since I first found out about Firewatch, I was intrigued, so when it was released, it was an…

Tomb Raider really does look like it's coming to Linux & SteamOS

Tags:Action,Coming Soon,Steam Thanks to SteamDB and a twitter follower it really does look more likely that Tomb Raider (the 2013 version) is coming…

Cities: Skylines to get a free Theme Editor, with way more map customization options

Tags:Video,Strategy,Steam,Sandbox,City BuilderCities: Skylines looks like it's getting some really great support, and with a free update coming soon…

The talk about Vulkan at FOSDEM by Jason Ekstrand from Intel now has a video up

Tags:Vulkan,VideoFor those wanting to listen to the actual talk Jason Ekstrand from Intel did about Vulkan you can now watch the video.QuoteVulkan is…

Tempest, a good looking pirate ship combat game looks like it's coming to Linux

Tags:Steam,RPG,Early Access,Adventure,ActionTempest is a pretty good looking naval warfare game involving pirate ships, and it looks like it's coming…

BattlEye anti-cheat now supports Linux, already live in ARK: Survival Evolved

Tags:Toolkit,Survival,Steam,Editorial Everyone playing ARK: Survival Evolved on Linux can calm down now, as BattlEye now supports Linux and it's…

We Are Legion, indie strategy game with hundreds or even millions of units now on Linux

Tags:Strategy,Steam,Indie GameWe Are Legion is a small indie strategy game with no unit caps, so you could end up with millions of units going at it.…

Vulkan webinar to take place this month, hour session talking about the API and SDK

Tags:Coming Soon,Editorial,VulkanIt's getting close to the launch of Vulkan, I can feel it! Khronos are doing a webinar on February 18th at 9:00am PT…