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

Women In Tech: Jane Silber, CEO Of Canonical

TomsHardware: Silber has been running Canonical (maker of Ubuntu, among a great many other software products) in one form or another for well over a decade at this point

Solus Project to No Longer Offer a Release Schedule, Solus 1.2.1 Gets Delayed

 softpedia: The announcement follows the recent news of Solus becoming a rolling release operating system

GNOME Software 3.22 Will Support Installation of Snaps, Flatpak Repository Files

GNOME Software is an essential app distributed as part of the GNOME Stack

Minimalist Web Browser ‘Min’ Sees New Release

OMGubuntu: Two big new features are appended to the existing feature set which includes tab tasks, focus mode and a built-in reading list.

Hardened Usercopy Appears Ready To Be Merged For Linux 4.8

Phoronix: Hardened usercopy was originally based upon GrSecurity's PAX_USERCOPY feature

How to set the hostname on Fedora

To set the name of a single, modern Fedora system such as a home computer that isn’t part of a network, use the hostnamectl command

Cyanogen Inc. reportedly fires OS development arm, switches to apps

ars: What happens to an Android OS company when it stops developing an Android OS?

Easily Encrypt your Flash Drives with Linux

Linux.com: Cryptsetup is a utility for for setting up encrypted filesystems with the help of Device Mapper and dm-crypt.

Nextcloud 10 beta includes two-factor authentication security

ZDnet: The ownCloud infrastructure-as-a-service cloud fork, Nextcloud, is charging forward with new feature

GamingOnLinux.com Latest Articles

Physics-based 3D puzzler Human: Fall Flat released on Steam for Linux

Tags:Steam,Puzzle Human: Fall Flat is an open-ended physics puzzler with an optional local co-op mode, developed by No Brakes Games, and available…

Stardew Valley is now in beta for Linux

Tags:Steam,Simulation,Coming Soon,BetaUpdate: It now seems to be live, I was able to download it and play it. Here's the password and link to the…

Auto-Staccato looks like a great new take on rhythm games

Tags:Action,Greenlight,Indie Game,Music,SteamAuto-Staccato is a new action rhythm game coming to Linux and it's trying to get on Steam. Think of…

Fancy playing Quake with the Vulkan API? Now you can

Tags:Open Source,VulkanI'm a little late on reporting this due to being ill, but Quake has been ported to Vulkan and it's open source of course.…

FOX n FORESTS, a very interesting looking 16-Bit style action platformer is on Kickstarter

Tags:Retro,Platformer,Interview,Editorial,DRM Free,Adventure,ActionFOX n FORESTS, a 16-Bit style action platformer that has adventure and puzzle…

Beat Cop, the retro pixel art adventure game has a new trailer

Tags:Adventure,Coming Soon,RetroBeat Cop is a rather interesting looking 80s inspired pixel art adventure game due out later this year, and it…

Vikings – Wolves of Midgard Announced from Kalypso Media and Games Farm with Linux support

Tags:RPG,Coming Soon,Action,Unity3DKalypso Media really are getting Linux friendly aren't they! Vikings – Wolves of Midgard has been announced…

The Battle for Wesnoth, the great open source fantasy strategy game is now on Steam Greenlight

Tags:Greenlight,Open Source,Steam,StrategyThe Battle for Wesnoth is probably one of the all time great open source games. It's been around for a long…

Progress on our User Statistics Page has continued, feedback requested

Tags:Site InfoUpdates will be listed at the bottom as I go. Since I am sick with Tonsillitis I decided to take a quick break from news and work on…

Cheese Talks: Porting Games to Linux & Day of the Tentacle

Tags:EditorialHi people! A new Cheese Talks article just went live! This time, I'm looking back at what I learned from porting Day of the Tentacle…

Sinner’s Sorrow, a grim looking action adventure is coming to Linux

Tags:Action,Adventure,Coming Soon,Indie GameI don't have a freaking clue what's going in the teaser trailer for Sinner's Sorrow, but wow am I…

openFrameworks C++ toolkit now has a Vulkan backend that supports Linux

Tags:Vulkan,ToolkitI'm going to be honest, I had never heard of openFrameworks until today. It claims it's a C++ toolkit that glues together several…

Vulkan backend for the Dolphin emulator is now feature complete

Tags:Emulation,Open Source,VulkanOn the github pull request to bring in the Vulkan backend for the Dolphin emulator, it now reads as feature…

Dave Airlie has been working on an AMD Vulkan driver

Tags:Drivers,AMDDave Airlie has been working on an open source AMD Vulkan driver and he's ready to show it off a little bit. I do love the fact that…

Looks like the open source Mesa driver has hit OpenGL 4.5 support with Intel

Tags:Drivers,Open SourceA pretty incredible milestone for open source graphics, as it appears that Mesa along with the Intel driver has hit OpenGL…