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

Articles found under tag: bash

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

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

grep vs AWK vs Ruby, and a uniq disappointment

By

In my data-cleaning work I often make up tallies of selected individual characters from big, UTF-8-encoded data files. What's the best way to do this? As shown below, I've tried grep/sort/uniq, AWK and Ruby, and AWK's the fastest. The trials also revealed an unexpected problem with the uniq program…

Read Article

Scripting an arithmeticker

By

I've just built my own GUI calculator (script below). OK, you're probably thinking "WHY? There are plenty of perfectly good GUI calculators for Linux. Why build another one?" And my answer is "Because the available calculators are way too powerful and don't do what I want…

Read Article

Tips for tpp and patat

By

You might be surprised to learn that there are programs for running presentations in a terminal. No, I don't mean opening PowerPoint or Impress slides one after the other, as images in a frame-buffered console. I mean presenting slides coded for the terminal, in a terminal. Interesting idea? It…

Read Article

Scottish Country Dancing stats

By

My wife has been in the same Scottish Country Dancing group for many years, and back in 2005 she began keeping a record of the dances done at each meeting. She lists a fair bit of information in her "dances done" spreadsheet (screenshot below). She recently asked me "Would it be…

Read Article

A script to log what my GPS tells me

By

I carry a Garmin Etrex 10 when I go bug-collecting. It's a handheld GPS receiver without many frills, and I only use it to record the latitude and longitude of each of my collecting sites as a waypoint. At the start of a field trip I delete all previous waypoints. When I do this, the trip's…

Read Article

News Elsewhere

Linuxtoday.com

5 command-line games for sysadmins

If you're living life at your terminal emulator anyway, why not have a little fun while you're there #EnableSysadmin

Create & manage docker hosts with Docker Machine on VirtualBox

Docker Machine is a tool that let us install Docker Engine on virtual hosts on various platforms, on local environment as well on cloud.

How to Set Up RVM on Debian 10 Buster

If you plan on doing any sort of Ruby development, RVM is a must.

How to Enable Dynamic Transparency Ubuntu

MakeTechEasier:Even though it was removed, you can re-enable dynamic transparency on your Ubuntu PC with the GNOME desktop environment with a simple extension.

How to use Gnome shell's secret screen recorder

Learn how to use a Gnome shell's secret screen recorder.

How To Upgrade Everything Using Topgrade CLI Utility In Linux

ostechnix: The Topgrade utility will upgrade everything in Linux and Unix operating systems.

The E3 2019 Linux gaming round-up

GamingOnLinux: There was actually more from E3 2019 for Linux than I expected

Accessing remote desktops

Need to see what's happening on someone else's screen?

GamingOnLinux Latest Articles

The perils of crowdfunding for Linux games: Eco edition

Tags: Crowdfunding, EditorialWhen crowdfunding games, there's always a risk that something will go wrong. Sometimes games get cancelled, sometimes…

Humble Store have a nice City Builder sale going on this weekend

Tags: Humble Store, Game Sale, City BuilderJust a quick tip before it's over, Humble Store are currently doing a sale with a City Builder theme and…

Dota Underlords from Valve is already quite addictive and they're improving it quickly

Tags: Strategy, Beta, Steam, Valve, Initial ThoughtsWith Dota Underlords available for testing, I've now taken a look at it (thanks Scaine!) and so…

NetherWorld, an impressive looking and weird narrative pixel-art action game is coming to Linux

Tags: Pixel Graphics, Action, Steam, Indie Game, UpcomingCurrently in development by Hungry Pixel, NetherWorld has a pretty impressive pixel-art…

DXVK 1.2.2 released with performance improvements and bug fixes

Tags: Wine, VulkanDXVK, the incredible project that provides a Vulkan-based layer for D3D11 and D3D10 games run with Wine has another release now…

The Expression Amrilato, a Yuri Visual Novel that teaches some Esperanto has a same-day Linux release on GOG

Tags: Visual Novel, GOG, DRM-FreeCurrently stuck in release limbo on Steam, 'The Expression Amrilato' has been released on GOG today with full Linux…

GOG are giving away Toonstruck during the Summer Sale Festival finale

Tags: GOG, Free Game, Giveaway, DRM-FreeThe GOG Summer Sale Festival is ending on Monday June 17th at 10 PM UTC, so GOG are now giving away copies of…

The latest Volcanoids update sounds amazing, lets you directly pilot your drillship

Tags: Steam, Early Access, Indie Game, Steampunk, Unity, SurvivalVolcanoids, the steampunk survival game where your base of operations is a massive…

Skellboy looks like a very sweet action-RPG where you swap body parts

Tags: Action, RPG, Steam, UpcomingSkellboy, a recent discovery being developed by UmaikiGames and published by Fabraz (Slime-San, Planet Diver) looks…

Unique racing game 'Vector 36' adds online multiplayer in the latest update and a free weekend

Tags: Racing, Steam, Indie Game, UpdateVector 36 is a racing game that's quite unusual, as you're piloting a Skimmer across the surface of Mars. …

Relic Hunters Legend to enter Alpha later this month, includes Linux support

Tags: Action, Alpha, Indie Game, UpcomingRelic Hunters Legend, the crowdfunded shoot and loot RPG from Rogue Snail is gearing up for the Alpha…

Hard sci-fi space game 'Rings of Saturn' is now doing an Early Access crowdfunding mix on itch

Tags: Indie Game, Early Access, Crowdfunding, Itch.io, Simulation, Godot EngineRings of Saturn, a hard sci-fi space simulation game made with the…

Starbound's massive 1.4 "Bounty Hunter" update is out now

Tags: Indie Game, Humble Store, GOG, Steam, Sandbox, SurvivalAfter a long wait, with this being the first update to Starbound since October last…

SkateBIRD has flown past the Kickstarter goal, Linux demo now available

Tags: Sports, Casual, Indie Game, Community, Crowdfunding, DemoGet ready to explore a bird-sized skatepark, as SkateBIRD has not only flown right…

Valve release a new stable Steam Client from all the recent Beta builds, nice fixes for Linux

Tags: Steam, UpdateValve have once again gathered all the new features and fixes from a bunch of recent Beta builds and pushed it out to everyone,…