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

Articles found in "Tutorials" category:

Transposing rows and columns: 3 methods


Swapping the rows and columns in a table on the command line would seem to be a fairly easy thing to do. For example, with this tab-separated table (called 'tabbed') as input: get this tab-separated table ('swapped') as output: Datamash Transposing rows and columns is indeed easy if you have the…

Read Article

I think I like backreferences (sometimes)


Backreferences are part of the complicated and sometimes confusing world of regular expressions. The basic idea is this: you can substitute any part of a regular expression with a backslash followed by a number, so long as you surround the part to be substituted with round brackets. The command…

Read Article

Keeping emails as text files: 2 scripts


Most people store and organise their personal emails as individual files (messages) in folders. Those folders might be on a webmail company's servers, or in a mail client program on the user's personal computer. In both cases the emails are probably in a special email format. I'm horribly…

Read Article

How to manage alternating lines of text on the command line


In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates


It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

Read Article

Scripting a fancy chooser for recently used files


I recently scripted a GUI dialog that lists my 10 most recently modified files in reverse chronological order and allows me to choose more than 1 file for opening. The dialog is launched with a keyboard shortcut and is shown here with 2 files selected: The script is in copy-and-paste form at the…

Read Article

Gnumeric: a filter-and-export script


My wife likes to organise and store information in Gnumeric spreadsheets. Every now and then she needs to filter her data and save the result to a new spreadsheet. Gnumeric doesn't have a simple way to do that. It has a complicated way to do it ('Advanced Filter'), but nothing so straightforward as…

Read Article

How to insert code snippets on the command line without executing them


You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the…

Read Article

How to read a file N lines at a time in BASH: 3 methods


The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods


I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

News Elsewhere

Birds Linux 8.0, the Distro for Students, Launches with Kernel 4.5, Tor Browser

 softpedia: Birds Linux 8.0 has been in development for the past three months

CentOS 7 KDE: not for home users

 DarkDuck: KDE version of CentOS isn't all that friendly

Android and ChromeOS: World Domination?

 Datamation: Google's plans for Android and ChromeOS will most certainly have a massive effect on computing at many levels.

A Look at Android Apps on Chromebook

 FOSSforce: The initial reaction from the FOSS community to Android Apps on Chromebooks will probably be a little cooler than lukewarm

How To Install All Kali Linux Tools On Ubuntu Using “Katoolin” Script?

FOSSbytes: Kali Linux is one of the most popular Linux-based distributions being used by ethical hackers.

Hadoop Evolution: What You Need to Know

 EnterpriseAppsToday: Hadoop has been hamstrung by complexity

OpenSUSE Administation with Zypper

 HowToForge: Zypper is the command line package manager for openSUSE

Linux Kernel 3.12.60 LTS Released with ARM and PowerPC Fixes, Updated Drivers

Linux kernel 3.12.60 LTS arrives approximately one month after the release of the previous maintenance version

Ubuntu MATE 16.10 In Development, Software Boutique and Welcome Get New Features

 softpedia: Software Boutique, the graphical package manager of the Ubuntu MATE Linux operating system, now comes with an initial search feature called Boutique Search Latest Articles

Watch Feral Interactive play F1 2015 live on Twitch tonight at 5PM UTC

Tags:Video,Preview,Livestream,Feral InteractiveWant to see some F1 2015 on Linux before release? Feral Interactive are doing a livestream today at…

Feral Interactive officially announce F1 2015 is coming to Linux on May 26th, properly this time

Tags:Steam,Racing,Feral Interactive,Coming SoonAfter a few accidents leaking out before it was due, Feral have today officially (and finally)…

Intel & Nvidia Fermi Mesa OpenGL driver has now finished up OpenGL 4.3 support

Tags:Open Source,Intel,DriversOh wow, didn't expect this so soon. The Mesa driver for Intel graphics and Nvidia Fermi (GeForce 400, GeForce 500) on…

Want to blow everything up? Brigador releases on June 2nd with Linux support

Tags:Steam,,Coming Soon,ActionGreat leader is dead. Liberate Solo Nobre tonight by any means necessary. Brigador will release in full with…

Amazing Frog? A positively rated silly sandbox game is available on Linux

Tags:Early Access,Sandbox,SteamThanks to a reader pointing it out, we now know that Amazing Frog? officially has a Linux and SteamOS version on…

Aragami, a great looking third person stealth game coming to Linux

Tags:Steam,Stealth,Coming Soon,ActionAragami was sent in by a reader and it looks like an excellent stealth game to have on Linux. This is going…

CRYENGINE source code now available on github

Tags:CryEngineThe CRYENGINE source code is now officially available on github for anyone to take a look and tinker with, you need to be aware of…

Dota 2 updated to support the Vulkan API

Tags:Vulkan,Steam,BetaDota 2 is Valve's first game to support Vulkan, the successor to OpenGL. This is Valve's first public release of the game to…

Feral Interactive are teasing another new Linux & Mac port with a new clue

Tags:Coming Soon,Feral Interactive,TeaserFeral Interactive are teasing our minds with a new clue for a Linux & Mac port to come. It's time to get…

Turmoil, a tongue-in-cheek take on the simulation genre plans a Linux version

Tags:Early Access,Simulation,SteamTurmoil is a charming looking simulation game that should be coming to Linux after the full release next month.…

Looks like RymdResa, the relaxing looking roguelike space odyssey is finally coming to Linux

Tags:Adventure,Coming Soon,Indie Game,RPG,SteamI've been following RymdResa for quite a long time as a big fan of space exploration games. The Linux…

Major Terraria update released with controller support, adventure maps and more

Tags:Steam,Sandbox,GOG,Action Terraria is a pretty decent sandbox game with lots to discover and it's just got a bit bigger. This new update is quite…

Worms W.M.D has an impressively silly Multiplayer trailer, will come to Linux

Tags:Steam,Platformer,Coming Soon,ActionIf you weren't aware already Worms W.M.D is heading to Linux (we have this confirmed). This new trailer has…

There is now an open source driver and GTK3 based UI for interacting with the Steam Controller

Tags:Open Source,Hardware,DriversOpen source rocks! A fellow named kozec has created a user mode driver (based on another) and a UI for interacting…

Linux & Steam running on the PS4 playing Bastion is impressive

Tags:AMD,VideoWhat you can do what Linux always impresses me, but this has to be what has impressed me the most recently. People have been hacking…