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

Articles found under tag: awk

Liferea hack: add links to ABC (Australia) news items

By

Most of the RSS feeds in my Liferea RSS reader have external links in their brief, descriptive texts, like this one from The Guardian newspaper: News feeds from the Australian Broadcasting Corporation (ABC), Australia's national broadcaster, don't have links: To see the the online ABC news…

Read Article

How to deal with NBSPs in a terminal

By

A non-breaking space (NBSP) is a special kind of whitespace. It's an invisible signal that tells a text-processing program to avoid replacing that space with a linefeed or carriage return. For example, if you wrote "2 kg" in LibreOffice Writer and didn't want the "2" to be at…

Read Article

BASH drivers, start your engines

By

There's always more than one way to do a job in the shell, and there may not be One Best Way to do that job, either. Nevertheless, different commands with the same output can differ in how long they take, how much memory they use and how hard they make the CPU work. Out of curiosity I trialled 6…

Read Article

A simpler track-changes script

By

Back in March 2015 I blogged about a track-changes script that reports the edits made to a tab-separated data table. The script actually generates two reports: a plain text version and a fancy HTML version. A slightly improved version of that script is on my data-cleaning website here. The script…

Read Article

Shifty dates in Microsoft Excel

By

Microsoft has used two different starting points on the calendar for calculating dates in different versions of their Excel spreadsheet program. Really. Microsoft explains the difference here. One version used 1 January 1900 for serial day numbering, the other used 1 January 1904. Of course, up to…

Read Article

It rains pretty regularly, in the shell

By

In a 2-article series here on The Linux Rain last May (part 1 and part2) I described how I used AWK to clean up rainfall data for my home town in Tasmania. The result was a file called rain3 with rainfall totals for each of the 36525 days from 1 January 1916 to 31 December 2015: In this article I…

Read Article

A script to find empty fields in a table

By

It's pretty easy to see which fields are empty in the tab-separated table demo (below). The 2nd and 4th field, Col2 and Col4, have no visible characters at all in the rows below the header line: That was simple, but what if the table is huge, with lots of fields and records? Eyeballing for fields…

Read Article

AWK and a rainfall time series - Part 2

By

In part 1 of this article I showed how I used AWK on the command line to work up daily rainfall data for my home town, Ulverstone in Tasmania. I wasn't ready to analyse the data, because there were quite a few missing-data days. Some were part of accumulated-total series, where the rainfall total…

Read Article

AWK and a rainfall time series - Part 1

By

AWK is my tool of choice for processing plain-text data, so when I wanted to look closely at daily rainfall data for my home town, I fired up a terminal. In this two-part article I explain how the rainfall data were beaten into shape, mainly with AWK, so I could do my analysis. The commands shown…

Read Article

BASH a block of bytes

By

I was preparing a slide presentation and wanted to show a block of random 8-bit bytes, like this: Naturally I didn't just type out that block of text on a slide, which would have taken maybe 10 minutes, or copy and modify some byte-text I found online. Of course not. Instead I spent hours dreaming…

Read Article

News Elsewhere

Linuxtoday.com

How to display data in a human-friendly way on Linux

NetworkWorld: Many Linux commands now have options to make their output a little easier to digest.

How to Schedule Tasks on Ubuntu 18.04 Using Crontab

Learn how to run programs at a specific time or in a given interval on Ubuntu by using the crontab

How to Install Prometheus and node_exporter on CentOS 7

Prometheus is an open source monitoring system that allows you to collect metrics from any configured target system.

How to limit CPU usage with CPULimit on Ubuntu Linux

 Learn how to limit CPU usage in Ubuntu 18.04 LTS.

How To Install Asterisk on CentOS 7

Asterisk is the most popular and widely adopted open source PBX platform that powers IP PBX systems, conference servers and VoIP gateways.

Researchers Reveal Security Vulnerabilities in Tracking Apps

eWEEK: At Defcon, security researchers revealed 37 new vulnerabilities in tracking apps that could have enabled attackers to steal information and track users.

How Netflix Secures AWS Cloud Credentials

eSecurityPlanet: At Black Hat USA, Netflix engineer explains how the streaming media giant uses cloud logs to spot security issues.

Linux 4.18 Benefits from Energy-Aware Scheduling on ARM

ServerWatch: The fourth major milestone release in 2018 for the Linux kernel was officially announced by Linus Torvalds on Aug. 12 with the general availability of Linux 4.18.

5 open source strategy and simulation games for Linux

Challenge your strategic skills and explore new worlds with these five open source games.

Challenge your strategic skills and explore new worlds with these five open source games.

GamingOnLinux Latest Articles

Boyfriend Dungeon, an action-RPG dungeon crawler where the weapons transform into people is on Kickstarter

Tags: Indie Game, Dungeon Crawler, Action, RPG, CrowdfundingBoyfriend Dungeon [Official Site] from Kitfox Games (Moon Hunters) promises a rather…

Graveyard Keeper from Lazy Bear Games and tinyBuild is out with same-day Linux support

Tags: Humble Store, GOG, Steam, RPG, AdventureGraveyard Keeper is a slightly amusing game that has you manage a medieval graveyard while facing…

Daedalic Entertainment's futuristic thriller 'State of Mind' is out with day-1 Linux support

Tags: Humble Store, GOG, Steam, Adventure, Indie Game, Cyberpunk, Unreal EngineGood stuff from Daedalic Entertainment here as they've released State…

Crazy Justice to finally enter Early Access with Linux support on August 23rd

Tags: Action, Battle Royale, Steam, Indie Game, Early Access, Unreal Engine, Free GameCrazy Justice [Steam, Official Site], the third-person shooter…

First-person grappling-hook platformer 'The Free Ones' is out with Linux support, it's pretty good

Tags: Platformer, Steam, Indie Game, Review, AdventureThe Free Ones is a first-person platformer that sees a slave escape from captivity and it's out…

Top-down 3D action-adventure game Sikanda gives you a shape-shifting weapon

Tags: Action, Adventure, Crowdfunding, Indie GameSikanda seems like a pretty interesting top-down action-adventure, one that gives you a…

Time Traveling Raptors is a 16-bit inspired action-platformer where you're trying to fix the timeline

Tags: Crowdfunding, Indie Game, Action, PlatformerTime Traveling Raptors looks all kinds of nuts, an action-platformer where you're facing people as…

Prepare to set sail as seafaring strategy game 'Nantucket' is now officially supported on Linux

Tags: Strategy, Steam, Humble Store, Indie GameAfter being in Beta since April, Picaresque Studio have now given the Linux version of the seafaring…

Isometric university management game 'UniverCity' has entered Early Access, developed on Linux

Tags: Steam, Indie Game, Early Access, SimulationUniverCity from developer Matthew Collins who develops on Linux is a new in-development university…

The Humble Jackbox Party Bundle is out, some of their games have hidden Linux beta versions

Tags: Humble Store, Game Bundle, BetaA quick tip for those who love their party games as Humble have put out the The Humble Jackbox Party Bundle. To…

Valve may be adding support for using compatibility tools for playing games on different operating systems

Tags: Valve, SteamReddit seems to be buzzing with information from SteamDB (full credit to them for finding it) showing indications that Valve…

The Linux version of Moonlighter should be out soon, in the 'last stage'

Tags: Coming Soon, Action, RPG, Rogue-lite, UnityThe action RPG Moonlighter [Official Site] seemed really interesting with the shopkeeper element to…

TANGLEWOOD is a properly retro puzzle-platformer that's now out for Linux, includes a Mega Drive rom file

Tags: Puzzle, Retro, Platformer, Steam, Indie GameBig Evil Corporation have released their puzzle-platformer that really is rather retro and not just…

2D pixel horror game 'Ellen' is looking for Linux testers of their teaser

Tags: Horror, Steam, Indie Game, Coming SoonIf you love your horror games, keep an eye on Ellen as it looks pretty spooky. Turns out Red Mount Media…

Reynard, an action RPG that mixes in some Tower Defense now has Linux support

Tags: Action, RPG, Indie Game, Early Access, Tower DefenseHyper Fox Studios [Official Site] announced today that their sweet action RPG Reynard,…