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

Articles found under tag: cli

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

A Script to Toggle the CPU Performance Governor

By

If you're a gamer, you probably find your computer's default CPU scaling (usually the "balanced" or "powersave" setting) is more than sufficient the majority of the time, but just occasionally, a game will run at its best when the CPU is set to maximum frequency all the time,…

Read Article

File manager: open a terminal, but not here

By

Each of the two file managers I use — Thunar and Xfe — allows me to open a terminal in a selected directory. In Thunar, I right-click on a directory and choose Open Terminal Here, and in Xfe I use the keyboard shortcut Ctrl + t. In both cases, though, the terminal window opens right on top of the fil…

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

Tweaking uniq -c

By

I often sort lists on the command line and get the frequencies of listed items with the command chain sort | uniq -c. For example, suppose I have a list of "brown" surnames in a file called demo: OK, so there are 7 Brauns in the list, 3 Brouns, and so on. But notice the indentation of…

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

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

News Elsewhere

Linuxtoday.com

Tech Comics: Great Results

 Datamation: Sometimes what's considered "great results" can be remarkably less than thrilling.

5 DevOps leadership priorities in 2018

Five key areas DevOps leaders and teams should strive to improve in the New Year.

adcli - Easy Way To Join RHEL/CentOS System To Active Directory Domain

adcli is a command line tool that help us to integrate or join Linux systems such as RHEL & CentOS to Microsoft Windows Active Directory (AD) domain.

Command line fun: Insult the user when typing wrong bash command

Nixcraft: You can configure sudo command to insult user when they type the wrong password.

How to Install Fedora 27 Alongside With Windows 10 or 8 in Dual-Boot

This tutorial will guide you on how to install Fedora 27 Workstation in dual boot with Microsoft Windows 10 Operating System pre-installed on a BIOS firmware machine.

Record and Share Terminal Session with Showterm

You can record a terminal session with any screen recording program, but Showterm for Linux makes it very easy to record and embed on a site. Here???s how it works.

You can record a terminal session with any screen recording program, but Showterm for Linux makes it very easy to record and embed on a site. Here???s how it works.

How To Use YUM History Command To Rollback An Updates In RHEL/CentOS Systems

Yum history command allows administrator to rollback the system to a previous state on CentOS and RHEL Systems.

How to Install Icinga 2 Monitoring Tool on Debian 9.2

HowToForge: In this guide we will discuss how to install and configure the latest version Icinga 2 web monitoring tool

Slax Linux Distro Gets New Release After Two Years, Drops Slackware for Debian

Slax 9.2.1 is now available for download as the latest stable release of the Linux distro

GamingOnLinux Latest Articles

Friday Livestream with Samsai at 6 PM UTC!

Tags: LivestreamHey! You might not believe it but it's Friday today! And as is typical of a Friday here at GOL, we have a livestream for you! So, get…

Completely free top-down shooter CS2D is now on Steam

Tags: Free Game, Action, SteamCS2D [Steam, Official Site] is a top-down shooter heavily inspired by Counter Strike 1.6 and it's now available on…

Looks like the open-world FPS 'The Signal From Tölva' is now on Linux

Tags: Action, Open World, FPS, Steam, Indie GameThanks to a user comment on one of our older articles, we've been informed that The Signal From…

The developer of Siralim and Siralim 2 has blogged about supporting multiple platforms

Tags: MiscWhile not too in-depth on the technical side of things, the developer of Siralim [Official Site] and Siralim 2 [Official Site] has blogged…

Jump Gunners is a pretty hilarious action platformer now on Linux

Tags: Steam, Action, Platformer, Local co-opIn Jump Gunners [Steam, Official Site], as the name might suggest, you use your gun to propel you around…

Planet Nomads is about to get a lot more interesting

Tags: Steam, Early Access, Sandbox, Survival, Adventure, GOGPlanet Nomads [GOG, Steam, Official Site], the Early Access singleplayer sci-fi sandbox…

GOG now has 'West of Loathing' on their store, including a Linux version

Tags: GOG, DRM Free, Adventure, Comedy, RPGThe comedy adventure game West of Loathing [Official Site] is now available DRM free on GOG and they have…

Build a fleet and go to war in Battlevoid: Sector Siege, now out with Linux support

Tags: Strategy, Steam, Indie GameBattlevoid: Sector Siege [Steam] is a real-time strategy game about spaceships battling it out, it's now out with…

Tannenberg, the standalone expansion to Verdun, explodes into Early Access

Tags: FPS, Action, Early Access, SteamThe Eastern Front just got a little bit busier. The standalone expansion to the WW1 FPS pits Russians versus…

Crusader Kings II: Jade Dragon now available, my thoughts on all the kowtowing and tribute

Tags: DLC, Review, Steam, StrategyThe latest expansion to the medieval grand strategy game focuses on the East and the splendors of China. I had the…

Europa Universalis IV: Cradle of Civilization now available, here’s some thoughts

Tags: DLC, Review, Steam, StrategyThis ambitious DLC adds new shiny toys to nearly every nation of the Near East. I did my best to navigate religious…

The Humble Care Package Bundle has a few good Linux games

Tags: Game BundleAnother day another bundle eh? The Humble Care Package Bundle released recently and it does actually have a few good Linux games.…

Project Hospital is a full Hospital management sim coming to Linux, some of it is developed on Linux

Tags: Coming Soon, Strategy, SimulationOne of the people behind Project Hospital [Official Site] emailed in about the project, which aims to be a…

One dedicated gamer made a SteamOS tabletop 'car-cade' for DiRT Rally

Tags: Hardware, SteamOS, Feral Interactive, RacingI love seeing what people have been able to do with SteamOS and this might just be the most…

Classic Roguelike 'ADOM' is getting a revamp named Ultimate ADOM

Tags: Unity3D, Indie Game, Coming Soon, RoguelikeEyes up roguelike fans, as the classic ADOM [Official Site] is set to get a revamp named Ultimate…