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

TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop

2DayGeek: TLP is a free opensource advanced power management tool that improve your battery life without making any configuration change.

Using PPA in Ubuntu Linux [Complete Guide]

 itsFOSS: An in-depth article that covers almost all the questions around using PPA in Ubuntu and other Linux distributions.

10 Best Native Linux Games

LinuxConfig: Whether you want something free to play or you're looking for invest in a long term favorite, there are plenty of amazing options on Linux.

Vivaldi 2.2 Introduces Picture-in-Picture, Smarter Tab Management and Navigation

The Vivaldi 2.2 update introduces even more goodies to make you consider Vivaldi as your default web browser

How to install Redis on a Raspberry Pi using Docker

Using Docker enables us to install the latest releases of Redis long before they are available in the Raspbian package repository.

5 resolutions for open source project maintainers

No matter how you say it, good communication is essential to strong open source communities.

Top 5 configuration management tools

Learn about configuration management tools and figure out which will work best for your DevOps organization.

Patch into The Matrix at the Linux command line

Recreate the classic look and feel of everyone's favorite 1990s sci-fi movie code scroller with cmatrix.

FreeBSD 12 released: Here is how to upgrade FreeBSD 11 to 12.

Nixcraft: The 12th version of the FreeBSD has been released, bringing updated software hardware support.

GamingOnLinux Latest Articles

Preview: Jupiter Hell, the modern roguelike and spiritual successor to DRL (Doom the roguelike)

Tags: Preview, Video, Steam, Indie Game, RoguelikeJupiter Hell is a roguelike I'm following with great excitement, it's serving a the spiritual…

The Tyranids are coming to Warhammer 40,000: Gladius in January

Tags: DLC, Strategy, Coming Soon, GOG, Humble Store, SteamWhile Warhammer 40,000: Gladius is a pretty good strategy game, it did feel somewhat…

Preview: Overland, the squad-based survival strategy game is to release in full next year

Tags: Update, Indie Game, Early Access, Strategy, PreviewOverland, a stylish strategy game where every single step counts is due for a full release…

The impressive ATOM RPG is to leave Early Access on December 19th

Tags: Indie Game, RPG, Early Access, SteamAfter little over a year in Early Access after a successful Kickstarter campaign, the surprisingly…

VK9, the project that aims to support Direct3D 9 over Vulkan has hit another milestone

Tags: VulkanThe developer of VK9, another rather interesting compatibility layer has advanced further with the announcement of another completed…

The lovely aquarium building game Megaquarium just had a big update

Tags: Steam, Humble Store, Indie Game, Simulation, StrategyTwice Circled are adding in plenty of new features to Megaquarium as promised, with a…

The KKnD remake using the OpenRA engine has a first release out

Tags: Open Source, StrategyKKnD, the classic strategy game is being revived and the new open source project has the first release out. Note: Much…

NVIDIA released the 415.22.01 Vulkan driver

Tags: NVIDIA, DriversYesterday, NVIDIA again updated their special beta Vulkan driver pushing it to version 415.22.01 with various improvements. This…

DXVK 0.94 is out with fixes and performance tweaks

Tags: Wine, VulkanThe Valve-funded DXVK project, which kicks over D3D11 and D3D10 to Vulkan for use with Wine has another fresh brew available.…

Wipeout inspired anti-gravity racer BallisticNG has left Early Access

Tags: Racing, Indie Game, SteamFor those who miss the glory days of Wipeout, take a look at BallisticNG which just left Early Access. Developed…

Distance, the awesome racing platformer has a new mini-campaign out

Tags: Steam, Humble Store, Indie Game, Racing, Platformer, UpdateFor those who've completed the main content of Distance you might want to grab your…

Good Company, a very stylish looking tycoon sim will support Linux

Tags: Steam, Indie Game, Unity, Strategy, SimulationGood Company, a business management tycoon sim is a recent discovery and it will be coming to…

KeeperRL had a pretty big release recently, adding in some modding support and lots more

Tags: Early Access, Indie Game, Itch.io, Humble Store, Steam, Strategy, RPG, Open SourceKeeperRL is a great little game, one that mixes in roguelike…

The excellent SC Controller gamepad tool has two fresh releases available

Tags: Apps, DriversDo not adjust your monitor, you did read the correctly. SC Controller, the excellent tool that started off just for configuring…

Discord announce a 90/10 revenue split, Discord Store will support Linux

Tags: MiscYou will be forgiven for not paying much attention to the Discord Store, since it doesn't currently support Linux. It seems that is going…