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

Articles found under tag: cli

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 handy script for translations

By

Do you translate blocks of text by copying them and pasting into Google Translate in a browser? If you do, the script explained here might save you a lot of work. At the core The script relies on translate-shell, a wonderful command-line utility written by Mort Yao and available in the repositories…

Read Article

When will this script finish doing its job?

By

Several of my data-auditing scripts take a long time to execute. Until recently I had no way of knowing how long they'd take. I'd enter the command for the script, press Enter and wait. And wait. I've now discovered the pipeline viewer or pv command, which tracks the progress of my scripts. An…

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

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

News Elsewhere

Linuxtoday.com

Linux mv Command Explained for Beginners (8 Examples)

HowToForge: Just like cp for copying and rm for deleting, Linux also offers an in-built command for moving and renaming files.

PlayOnLinux For Easier Use Of Wine

PlayOnLinux is a free program that helps to install, run, and manage Windows software on Linux.

My Linux story: Coding not required

opensource.com: How an educator built a successful career teaching open source.

Two great uses for the cp command: Bash shortcuts

Learn how to streamline the backup and synchronize functions of the cp command.

Realistic racing game 'DRAG' coming to Linux next month, built on Linux and it looks astonishing

GamingOnLinux: The game engine is custom built under Linux too.

How to deploy TripleO Overcloud (Controller , Compute) on CentOS 7 VMs

A complete Guide on how to deploy overcloud (Controller and Compute Nodes) on Virtual machines hosted on KVM hypervisor.

Top 20 OpenSSH Server Best Security Practices

 nixcraft: OpenSSH is the implementation of the SSH protocol.

10 bad DevOps habits to break

Nip these bad DevOps practices in the bud now for greater success in 2018.

How to create outlines in Linux with TreeLine

Organize your work with TreeLine, a flexible tool for creating outlines on the Linux desktop.

GamingOnLinux Latest Articles

Friday Livestream with Samsai at 6 PM UTC!

Tags: LivestreamHello there, potential viewer! I am here to notify you that you have a one-time opportunity* to participate in an adventure unlike…

FPS 'Interstellar Marines' is still alive and updated, finally fixes their Wargames mode timer on Linux

Tags: Action, FPS, Indie Game, Early AccessInterstellar Marines [Steam] was one of the most promising FPS games in a long time, until they basically…

Urban sandbox game 'Voxel Turf' adds in boats, hovercraft and more optimizations

Tags: Steam, Indie Game, Action, City Builder, SimulationVoxel Turf [Steam] is a very sweet mix of city-building and first-person action built…

The crazy action RPG 'Super Cane Magic ZERO' now works properly on Linux

Tags: Action, RPG, Steam, Indie Game, Early AccessI recently wrote about Super Cane Magic ZERO [Steam] getting a huge update and how the Linux…

Balloonatics, an action-packed shooter where you pilot a floating basket is coming to Linux

Tags: Action, Steam, Early Access, Coming Soon, Indie GameBalloonatics [Steam, Official Site] certainly gets some bonus points for being unique. A…

Top-down shooter 'Geneshift' has a major update with a new progression system

Tags: Steam, Indie Game, Early Access, ActionGeneshift [Steam, Official Site], the pretty good top-down shooter that has some fun vehicle action was…

Realistic racing game 'DRAG' coming to Linux soon, built on Linux and it looks astonishing

Tags: Racing, Indie Game, Coming SoonI've been in contact with one of the people behind DRAG, a fantastic looking racing game which will come to…

Nearly six years after the Kickstarter, Stainless Games claim Carmageddon is still coming to Linux

Tags: EditorialAnother year has passed and it's now nearing six years since the Carmageddon: Reincarnation Kickstarter that was supposed to have a…

The big Wine 3.0 release is now officially available

Tags: WineGood things come to those who wait, like a fine Wine. Today the Wine team has officially release the next stable version Wine 3.0 [Official…

Slay the Spire fuses together a roguelike with a card game, it's rather fun

Tags: Early Access, Card Game, Roguelike, Strategy, RPG, Initial ThoughtsWhat do you get when you throw cards at a roguelike? Slay the Spire [Steam,…

OVIVO is a platformer with some rather unusual mechanics, it's also now on Linux

Tags: Platformer, Steam, Indie Game, ReviewI've played many platformers in my time and OVIVO [Steam, Official Site] stands quite tall as something…

Phantom Signal is an interesting Strategy game with Tower Defense mechanics

Tags: Strategy, Steam, Indie Game, Tower Defense, ReviewPhantom Signal [Steam] is a new Strategy game with Tower Defense mechanics that released this…

The original 'The Jackbox Party Pack' is now in Beta for Linux, that makes all of them now

Tags: Casual, Party Game, Steam, BetaThe Jackbox Party Pack [Steam] joins it's newer siblings in gaining an Beta version for Linux, so that makes all…

The current Humble Monthly Bundle has Civilization VI and some DLC for Linux gamers

Tags: Humble Store, Game BundleJust a quick tip this one: The Humble Monthly Bundle is quite hit and miss for Linux gamers, but the current one…

Cook, Serve, Delicious! and Cook, Serve, Delicious! 2!! are now on GOG with Linux support

Tags: GOG, DRM Free, SimulationThink you're a good enough cook to run your own restaurant? Now's your chance to prove it as Cook, Serve, Delicious!…