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

Articles found under tag: sed

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

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

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

Scripting a DNA sequence viewer

By

SANITY WARNING: Please don't read this article unless you're a compulsive shell scripter, like me. Seriously. There are some excellent FOSS sequence viewers in the distro repositories, with great GUIs and lots of features. Why would you want to build a less capable viewer that only works in a…

Read Article

Hunting gremlin characters

By

When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

News Elsewhere

Linuxtoday.com

How to display data in a human-friendly way on Linux

NetworkWorld: Many Linux commands now have options to make their output a little easier to digest.

How to Schedule Tasks on Ubuntu 18.04 Using Crontab

Learn how to run programs at a specific time or in a given interval on Ubuntu by using the crontab

How to Install Prometheus and node_exporter on CentOS 7

Prometheus is an open source monitoring system that allows you to collect metrics from any configured target system.

How to limit CPU usage with CPULimit on Ubuntu Linux

 Learn how to limit CPU usage in Ubuntu 18.04 LTS.

How To Install Asterisk on CentOS 7

Asterisk is the most popular and widely adopted open source PBX platform that powers IP PBX systems, conference servers and VoIP gateways.

Researchers Reveal Security Vulnerabilities in Tracking Apps

eWEEK: At Defcon, security researchers revealed 37 new vulnerabilities in tracking apps that could have enabled attackers to steal information and track users.

How Netflix Secures AWS Cloud Credentials

eSecurityPlanet: At Black Hat USA, Netflix engineer explains how the streaming media giant uses cloud logs to spot security issues.

Linux 4.18 Benefits from Energy-Aware Scheduling on ARM

ServerWatch: The fourth major milestone release in 2018 for the Linux kernel was officially announced by Linus Torvalds on Aug. 12 with the general availability of Linux 4.18.

5 open source strategy and simulation games for Linux

Challenge your strategic skills and explore new worlds with these five open source games.

Challenge your strategic skills and explore new worlds with these five open source games.

GamingOnLinux Latest Articles

Boyfriend Dungeon, an action-RPG dungeon crawler where the weapons transform into people is on Kickstarter

Tags: Indie Game, Dungeon Crawler, Action, RPG, CrowdfundingBoyfriend Dungeon [Official Site] from Kitfox Games (Moon Hunters) promises a rather…

Graveyard Keeper from Lazy Bear Games and tinyBuild is out with same-day Linux support

Tags: Humble Store, GOG, Steam, RPG, AdventureGraveyard Keeper is a slightly amusing game that has you manage a medieval graveyard while facing…

Daedalic Entertainment's futuristic thriller 'State of Mind' is out with day-1 Linux support

Tags: Humble Store, GOG, Steam, Adventure, Indie Game, Cyberpunk, Unreal EngineGood stuff from Daedalic Entertainment here as they've released State…

Crazy Justice to finally enter Early Access with Linux support on August 23rd

Tags: Action, Battle Royale, Steam, Indie Game, Early Access, Unreal Engine, Free GameCrazy Justice [Steam, Official Site], the third-person shooter…

First-person grappling-hook platformer 'The Free Ones' is out with Linux support, it's pretty good

Tags: Platformer, Steam, Indie Game, Review, AdventureThe Free Ones is a first-person platformer that sees a slave escape from captivity and it's out…

Top-down 3D action-adventure game Sikanda gives you a shape-shifting weapon

Tags: Action, Adventure, Crowdfunding, Indie GameSikanda seems like a pretty interesting top-down action-adventure, one that gives you a…

Time Traveling Raptors is a 16-bit inspired action-platformer where you're trying to fix the timeline

Tags: Crowdfunding, Indie Game, Action, PlatformerTime Traveling Raptors looks all kinds of nuts, an action-platformer where you're facing people as…

Prepare to set sail as seafaring strategy game 'Nantucket' is now officially supported on Linux

Tags: Strategy, Steam, Humble Store, Indie GameAfter being in Beta since April, Picaresque Studio have now given the Linux version of the seafaring…

Isometric university management game 'UniverCity' has entered Early Access, developed on Linux

Tags: Steam, Indie Game, Early Access, SimulationUniverCity from developer Matthew Collins who develops on Linux is a new in-development university…

The Humble Jackbox Party Bundle is out, some of their games have hidden Linux beta versions

Tags: Humble Store, Game Bundle, BetaA quick tip for those who love their party games as Humble have put out the The Humble Jackbox Party Bundle. To…

Valve may be adding support for using compatibility tools for playing games on different operating systems

Tags: Valve, SteamReddit seems to be buzzing with information from SteamDB (full credit to them for finding it) showing indications that Valve…

The Linux version of Moonlighter should be out soon, in the 'last stage'

Tags: Coming Soon, Action, RPG, Rogue-lite, UnityThe action RPG Moonlighter [Official Site] seemed really interesting with the shopkeeper element to…

TANGLEWOOD is a properly retro puzzle-platformer that's now out for Linux, includes a Mega Drive rom file

Tags: Puzzle, Retro, Platformer, Steam, Indie GameBig Evil Corporation have released their puzzle-platformer that really is rather retro and not just…

2D pixel horror game 'Ellen' is looking for Linux testers of their teaser

Tags: Horror, Steam, Indie Game, Coming SoonIf you love your horror games, keep an eye on Ellen as it looks pretty spooky. Turns out Red Mount Media…

Reynard, an action RPG that mixes in some Tower Defense now has Linux support

Tags: Action, RPG, Indie Game, Early Access, Tower DefenseHyper Fox Studios [Official Site] announced today that their sweet action RPG Reynard,…