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

Articles found under tag: cli

How to tidy copied PDF text with a CoPa script

By

The image below shows a small, demonstration PDF: When I highlight the text in the PDF, only the paragraphs and their internal spaces go to the X, or primary clipboard: When I middle-click-paste from the primary clipboard into a text editor, each line of text in the PDF appears on a new line,…

Read Article

Sorting numbers inside text strings

By

I have a script that compiles and sorts museum collection data. One of the data fields is for museum registration codes, and a plain sort doesn't understand that humans expect "KS.99", for example, to come before "KS.100": My script instead uses the magic "-V" option…

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

Canonical Reboots Convergence; Introduces the No Desktop Environment

By

Just mere days after the news broke that Canonical would be using the GNOME desktop environment in the default release of the Ubuntu operating system, following the news of the company also dropping the Unity desktop and the greater goal of "convergence", newly re-appointed Canonical CEO…

Read Article

How to build and edit LibreOffice dictionaries

By

When writing or editing scientific-type text in LibreOffice Writer, I rely a lot on its spellchecker. Unfortunately, the scientific terms I'd like to check aren't in the default dictionaries behind LibreOffice's spellchecking routine. There are two ways out of this dilemma. The first is to deal…

Read Article

The buttons of YAD

By

I use the YAD dialog program quite a lot in my shell scripts. Written and maintained by Victor Ananjevksy, YAD is easy to use and has dozens of handy options. In previous Linux Rain articles demonstrating YAD (here, here and here), I used only the default YAD buttons, "Cancel" and…

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

Compiling Kodi 18 Leia (git) on OpenSUSE Tumbleweed

By

Being a rolling release distribution that touts the ability to have the latest stuff, you'll often find the very latest software in OpenSUSE Tumbleweed. In the official repos, anyway. Certain software that is procured from external repositories such as Packman, however, this is not always the case.…

Read Article

News Elsewhere

Linuxtoday.com

Python Programming - if, else and elif

If you have the time, you can read this article else you can do something else. Sounds logical, doesn't it? Well, That's programming for you in a nutshell.

Install OpenNMS Network Monitoring Tool in CentOS/RHEL 7

OpenNMS (or OpenNMS Horizon) is a free and open source, scalable, extensible, highly configurable and cross-platform network monitoring and network management platform built using Java.

Dockly - Manage Docker Containers From Terminal

ostechnix: Dockly is a TUI (text user interface) utility to manage Docker containers and services from the Terminal in Unix-like systems.

11 Uses for the ps Command in Linux

MakeTechEasier: The ps command is a frequently-used tool for system administrators to list the currently-running processes on your system. Here are some great uses for it.

How to Tail Multiple Log Files at One Time

Learn two methods of tailing multiple files at the same time in the Linux terminal.

How to Build Docker Images with Dockerfile

Linuxize: Learn how to create one and how to build a Docker image with Dockerfile.

The future of Docker containers

Michael Crosby is one of the most influential developers working on Docker containers today, helping to lead development of containerd as well as serving as the Open Container Initiative (OCI) Technical Oversight Chair.

Kali Linux Ethical Hacking OS Now Supports More Than 50 Android Devices

Powered by the Linux 4.19.28 kernel, Kali Linux 2019.2 is here to introduce a new release of the Kali Linux NetHunter toolkit

Setup Ruby on Rails Development environment with Docker and Docker Compose on Ubuntu

HowToForge: Learn how to set up a development environment for Ruby on Rails applications using Docker and Docker compose.

GamingOnLinux Latest Articles

The Linux demo for 'Eagle Island', a very slick action-adventure rogue-lite is out and it's extremely impressive

Tags: Rogue-lite, Action, Adventure, Steam, Demo, Coming Soon, MetroidvaniaEver since I first heard of Eagle Island I was basically in love, with…

Very cool deck-building roguelike Dicey Dungeons alpha ending soon, last chance for early price + updated

Tags: Strategy, Roguelike, Alpha, Itch.io, UpdateDicey Dungeons might just be one of my favourite indie games this year, a unique blend of an usual…

A look at what's on sale ahead of the weekend once again, come find your next game

Tags: Game SaleThe weekend is almost upon us and you're in the market for a fresh new game, I've got you covered with what deals are going currently.…

Cardlings looks to be an interesting turn-based strategy with an unusual gameplay style

Tags: Coming Soon, Indie Game, Steam, StrategyCardlings caught my attention recently, a unique turn-based strategy game from Clockwork Chilli that's…

Incredibly weird comedy point and click adventure 'Clam Man' is out

Tags: Adventure, Steam, Indie Game, Unity, ComedyClam Man from Team Clam is a new comedy adventure game, it just recently released with Linux…

Comedy adventure Nelly Cootalot: Spoonbeaks Ahoy! HD is now out with Linux support

Tags: Adventure, Steam, ComedyOriginally released in 2007, Nelly Cootalot: Spoonbeaks Ahoy! HD revamps the experience to make it less painful to play…

Unique gravity-defying metroidvania 'Dandara' finally sees an update to the Linux version

Tags: Steam, Humble Store, Update, Metroidvania, ActionDandara, a very unique take on the action metroidvania genre took me by surprise with the fun…

Steam Play updated again to 4.2-5 to include newer DXVK, networking and controller fixes

Tags: Steam, Steam Play, Update, ValveValve have pushed out the latest smaller update to Steam Play, this time including an updated DXVK and a bunch…

Surreal adventure game 'ZED' about an artist suffering from dementia is releasing in June

Tags: Adventure, Coming Soon, SteamZED, a game that will tell the story of an artist suffering from dementia from Eagre Games and Cyan Ventures now…

art of rally is bringing a stylized racing experience to Linux later this year

Tags: Indie Game, Steam, Coming Soon, RacingFunselektor Labs, the developer of Absolute Drift has announced their latest game, art of rally. It might…

Roguelike fantasy adventure 'Vambrace: Cold Soul' has a new feature trailer ahead of release next week

Tags: Adventure, RPG, Roguelike, GOG, Steam, Coming SoonThe release of Vambrace: Cold Soul on May 28th is getting close now, it's quite an impressive…

IRKALLA, an incredibly stylish looking pixel-art tactical-action platformer is coming to Linux

Tags: Indie Game, Teaser, Coming Soon, Action, PlatformerThe developers behind IRKALLA emailed in today and it grabbed my interest right away with…

Total War: THREE KINGDOMS is out and it comes with same-day Linux support

Tags: Strategy, Steam, Feral Interactive, Humble Store, Benchmark, Initial ThoughtsTotal War: THREE KINGDOMS, possibly one of the biggest Total War…

Create your AI, pick your robots and prepare for battle as Gladiabots has left Early Access

Tags: Strategy, Itch.io, Steam, Indie Game, ProgrammingGladiabots makes me feel dumb, very dumb. It asks you to create various AI and assign them to…

We have some keys for 'Tank Maniacs' for those willing to test and give feedback

Tags: Steam, Indie Game, Coming Soon, GiveawayTank Maniacs, a crazy local multiplayer game that's all about blowing each other up is coming to Linux…