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

Articles found under tag: scripting

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

Quick - what time is it in Singapore?

By

If you want to know the local time around the world, Linux has options ranging from plain to gorgeous. The plainest one is the tzselect command, which offers choices in a terminal that lead you to the local time in a single region. Middling-pretty is gworldclock, a little GUI window that can be…

Read Article

News Elsewhere

Linuxtoday.com

Is WINE Linux Enterprise Friendly?

Datamation: The WINE software can useful, but faces some key challenges for a long term approach.

How to upgrade Debian 8 (Jessie) to 9 (Stretch) safely

 HowToForge: This tutorial shows you how to upgrade your Debian system from Debian Jessie (8) to Debian Stretch (9) in a few simple steps.

How to Block USB Storage Devices in Linux Servers

 Do you know how to block access to USB in Linux? (if you don't you should learn..)

How technology changes the rules for doing agile

EnterprisersProject: Scaling DevOps from small group to large organization is hard.

Bug Bounty Hackers Make More Money Than Average Salaries, Report Finds

eWEEK: Why do individuals spend time going after bug bounties? HackerOne report reveals what ethical hackers are going after and why.

20 Years of LWN

Congratulations to LWN on an amazing milestone.

How To Install Themes Or Icons In Elementary OS

After installing Elementary OS, you may feel that you want to customize it to look more than Out-of-the-box system

Barcelona Opts for Breath of Open Source Fresh Air

LinuxInsider: Barcelona city officials have voted to shut the door on Microsoft Windows in favor of the Linux operating system and open source technology.

NHS: Thanks for the free work, Linux nerds, now face our trademark cops

The Register: Devs quit, suggest Britain's health service bosses used them to bag Microsoft deal

GamingOnLinux Latest Articles

We Happy Few delayed again until 'Summer 2018', refunds will be possible

Tags: Coming Soon, Steam, GOG, Open WorldIn the latest production update to We Happy Few [Official Site], the developers note it will have another…

DECEIVER is a cyberpunk pre-apocalyptic philosophical shooter that's heading to Linux

Tags: Open Source, Action, Coming Soon, Indie GameDECEIVER [Official Site] is a cyberpunk pre-apocalyptic philosophical shooter with parkour and…

Looks like first-person steampunk dungeon crawler 'Vaporum' is coming to Linux

Tags: Steam, Indie Game, Dungeon Crawler, RPGThe first-person steampunk dungeon crawler Vaporum [Official Site] is showing signs of being released…

OBS Studio 21.0.1 released with Luajit/Python3 scripting support and plenty more

Tags: Open SourceOBS Studio 21.0.1 [Official Site] is a pretty big release and it sounds really quite exciting too, with the possibilities that come…

Looks like a Linux beta of Battle Chasers: Nightwar is finally coming

Tags: Steam, Coming Soon, Beta, Action, RPGBattle Chasers: Nightwar [Official Site] was supposed to released for Linux back in October last year, but…

OBS Studio NDI Plugin for Linux, send video from one Linux PC to another

Tags: Editorial, HOWTOTwo PC streaming has usually required either a dedicated capture card or setting up finicky RTMP servers, and while setting up…

The Linux 2017 GOTY Awards are now over, here's the winners

Tags: GOTYAnother year has completely flown by and with that another year of our GOTY Awards comes to a close, here's the results of the Linux 2017…

Where The Water Tastes Like Wine is confirmed for same-day Linux support

Tags: Steam, Coming Soon, AdventureRecently I wrote about how the adventure game Where The Water Tastes Like Wine [Steam, Official Site] would…

Tangledeep, the rather pretty dungeon crawler is leaving Early Access next month

Tags: Roguelike, Steam, GOG, Indie Game, Dungeon CrawlerTangledeep [Steam, GOG, Official Site] is a game we haven't covered a lot here, even though…

Eco, a detailed sandbox simulation game is launching on Steam Early Access soon

Tags: Sandbox, Survival, Simulation, Indie Game, Steam, Coming SoonEco [Official Site] is a hard game to properly describe, it's a detailed sandbox…

Cattle and Crops, a farming simulation and management game that has Linux support

Tags: Early Access, Simulation, Indie GameNeed your farming fix? Cattle and Crops [Official Site] is an in-development farming simulation and…

PLAY WITH ME, a mixture of horror and puzzles inspired by the SAW movies should come to Linux

Tags: Horror, Puzzle, Steam, Indie GameThe developer of PLAY WITH ME [Steam, Official Site], a horror and puzzle game inspired by the SAW movies is…

It's possible 'Two Point Hospital' from Two Point Studios & SEGA may be coming to Linux

Tags: Steam, SimulationTwo Point Hospital [Official Site, Steam], a new hospital building and management sim from Two Point Studios & SEGA might…

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…