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

ownCloud Desktop Client 2.2.4 Released with Updated Dolphin Plugin, Bug Fixes

ownCloud Desktop Client 2.2.4 is now the most advanced stable release of the open-source, free, and cross-platform software that acts as a graphical user interface for users to interact with an ownCloud server.

Asterisk 14 Improves Open-Source VoIP

EnterpriseNetworkingPlanet: Latest major release of Asterisk includes new features designed to make it easier to get up and running quickly

Cybersecurity isn't an IT problem, it's a business problem

EnterprisersProject: Collaboration is key when it comes to security in the enterprise.

Perform Hot Backups on MySQL Databases with Percona XtraBackup on Ubuntu 16.04

 HowToForge: Percona XtraBackup is an open source backup utility for MySQL.

Changing the way we design for the web

Rachel Nabors, a CSS animator, will keynote at All Things Open this year, in Raleigh from October 26-27.

Open source tools for writing the next best seller

Want to write a book? Check out these eight great tools for starting and finishing your writing project.

Cinnamon 3.2 in Linux Mint 18.1 Supports Vertical Panels, Better Accelerometers

The Linux Mint project leader reveals the fact that the upcoming Cinnamon 3.2 desktop environment, which will ship by default with the Linux Mint 18.1 operating system, the next major release of the popular Ubuntu-based distribution, will feature support for vertical panels

Endless OS 3: Linux for the Net Less

FOSSforce: This Ubuntu-based Linux distribution provides the Internet for those who don't have 24x7 access to the net.

Nmap 7.30 Security Scanner Adds 12 New IPv6 OS Fingerprints, 7 NSE Scripts

Nmap 7.30 is a major release that adds numerous new features and improvements

GamingOnLinux.com Latest Articles

Join the battle in our Dawn of War II livestream tonight! Be there around 7:45PM UTC

Tags:LivestreamTonight is the night we face demons, marines and whoever else stands in our way! That's right it's No Pants Friday and time for the…

I think ‘Particle Fleet: Emergence’ just became my new Linux gaming addiction

Tags:Strategy,Steam,Initial Thoughts,Indie GameI’m a big strategy game fan, I like building stuff and especially destroying stuff. I did a…

Rotate different shapes made out of blocks into holes in 'Security Hole', now on Linux

Tags:Indie Game,Initial Thoughts,Puzzle,Steam'Security Hole' [Official Site, Steam] recently released for Linux and the developer sent in a key, so I…

'Sundered', a beautiful hand­-drawn action game coming to Linux next year

Tags:Action,Coming Soon,SteamSundered [Official Site], is a really beautiful looking hand-drawn action game from the developers of Jotun. It's…

Just a heads up, Saints Row: The Third on Linux has broken co-op play

Tags:Editorial,Steam,Virtual Programming The Saints Row: The Third [Steam] port from Virtual Programming looks like it could use some love, it seems…

Steam Hardware Weekend sale, bag some cheap kit, Steam Controller now has accessories

Tags:Hardware,SteamThe Steam Hardware Weekend sale is now live and it seems Valve now sell accessories for the Steam Controller. All items are now…

'Hybrid Wars', a futuristic top-down mech shooter released with day-1 Linux support,

Tags:Action,SteamHybrid Wars [Official Site, Steam] is a rather good looking futuristic top-down mech shooter that has now officially released, and…

Stardew Valley 1.1 beta now available, you can get divorced, new maps, new crops and more

Tags:GOG,RPG,Sandbox,Simulation,SteamStardew Valley [Official Site, GOG, Steam] 1.1 beta is now available with Linux support. It has a bunch of new…

Unity have released a preview of the Unity editor with the Vulkan API

Tags:Unity3D,VulkanThis is pretty exciting, Unity [Official Site] have released a preview update build of the Unity engine with the Vulkan renderer.…

Warhammer 40,000: Dawn of War II, Chaos Rising and Retribution released for Linux, port report and thoughts

Tags:Strategy,Steam,Review,Feral Interactive,BenchmarkFeral Interactive have ported another set of cracking good games. This time we have Warhammer…

'We Are The Dwarves' now available DRM free for Linux on GOG

Tags:DRM Free,GOGWe Are The Dwarves [Official Site, GOG], an action-based tactical adventure is now available for you GOG fans in their usual DRM…

Minecraft: The Exploration Update announced, new monsters, new animals and more

Tags:Sandbox The Minecraft [Official Site] developers have announced The Exploration Update and they have already released a development release for…

'Sunless Skies', the next game after 'Sunless Sea' to support Linux, will go to Kickstarter next year

Tags:Coming Soon,Crowdfunding Failbetter Games [Official Site] have announced their next game titled 'Sunless Skies' as the follow-on from 'Sunless…

'Osiris: New Dawn', a graphically impressive multiplayer adventure and survival game coming to Linux

Tags:Survival,Steam,Early Access,Adventure,Action,Unity3D'Osiris: New Dawn' [Official Site, Steam] is a very impressive looking mix of multiplayer…

InXile Entertainment announced Wasteland 3, will use crowdfunding on fig

Tags:Strategy,RPG,Crowdfunding,Coming SoonInXile Entertainment [Official Site] have formally announced that Wasteland 3 is a thing and it will go to…