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

Articles found under tag: bash

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

Tips on getting (and suggesting, and editing) user input

By

In a previous Linux Rain article I explained how to use the YAD dialog to do multiple-item data entry in a GUI. Here I show one way to allow users to check and edit what they've entered in YAD. I also explain how to offer default, editable inputs in terminal-based data entry, and how to color the…

Read Article

How to get nowhere in particular

By

In this tutorial I explain one way to generate a random geographical location, using simple command-line tricks. Latitude and longitude: decimal degrees Latitude runs from 0 to 90 degrees from the Equator to the North Pole, and 0 to 90 degrees from the Equator to the South Pole. Longitude in…

Read Article

Top 10! Fun On The Command Line

By

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read Article

ODT to TXT, but keep the line numbering

By

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read Article

Scripting a 4-Color Multiple Grepper

By

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read Article

Tips on Tables

By

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read Article

News Elsewhere

Linuxtoday.com

Linux 3.18 rc6

Linus Torvalds: Steady progress towards final release

dupeGuru – Find And Remove Duplicate Files Instantly From Hard Drive

Unixmen: If you believe your system has multiple duplicate files, then dupeGuru might help you.

Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance

Phoronix: For those wondering whether there will be any exciting improvements with the Intel DRM graphics driver in the Linux 3.18 kernel, here's some OpenGL performance benchmarks.

Android projector offers 400 lumens on battery power

 LinuxGizmos: AAXA's Android-based M4 is claimed as "the world's brightest battery powered projector," with 400 lumens running on battery power, or 800 lumens plugged-in.

Barbie becomes a Debian developer and creates systemd

 ITworld: A recent Barbie book caused a row over its portrayal of women in technology.

OPNFV Adds Chinese Telecom to Open Source NFV/SDN Partnership

 The VAR Guy: ZTE Corporation, a telecommunications company based in China, has joined the Linux Foundation's OPNFV project for open source network functions virtualization and software-defined networking.

Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On OpenSUSE 13.2

HowToForge: How to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users.

Serve websites with Nginx

Linux User & Developer: Configure Nginx to serve simple websites and see how it’s a serious alternative to Apache

VirtualBox 4.3.20 Released

Today Oracle released VirtualBox 4.3.20, a maintenance release of VirtualBox 4.3 which improves stability and fixes regressions.

GamingOnLinux.com Latest Articles

Action Platformer 'Red Goddess' Has A Trailer And Is Due Out In February

A trailer was released for the Kickstarter funded game earlier this month, and with an estimated release date of February it might be one of the first Unreal Engine 4 powered games to release on Linux.

Natural Selection 2 Community Developers Need OpenGL Help

Natural Selection 2 development was handed to the community a while ago, but some Linux bugs with OpenGL are making the game on Linux crash happy.

Kinetic Voic, A Space Sandbox Game Exits Early Access

Kinetic Void is a 3D space adventure with a focus on customization and exploration. It has been on Linux for quite some time, but in the last few days that have polished it enough to exit early access.

7 Days To Die, A Sandbox Zombie Survival Game Finally Arrives On Linux

It has been a bumpy ride, and that's putting it nicely, but 7 Days To Die is finally on Linux for us to enjoy some zombie smashing.

What Can You Do For Linux Gaming?

An editorial talking about what you can do for Linux gaming. Including when to buy games, and what distribution to use to make sure you get support.

Free Balling, A Physics & Drawing Game, Tossing Building Games To The Next Level

In a world where one ball's life hangs in the balance against an infinite amount of track, that you draw!

Gold Rush! Anniversary Adventure Game Now Available On Linux

Gold Rush! takes you back to the year 1849, when gold was discovered in California. It was certainly one of the most exciting times in American history. Gold Rush! includes the three routes tens of thousands took to the gold regions. Become Jerrod Wilson and experience each trek as you travel from New York to California.

Voice Of Pripyat, Multiplayer First Person Shooter In Early Access

Voice of Pripyat is a multiplayer first person shooter that has popped up on Steam thanks to Greenlight, it looks like it could be interesting too in a stupidly crap way.

Valve Plans A Big Steam Machine Presence At GDC 2015

It seems Valve have no plans to attend CES next year, but they did confirm they are planning a large presence at GDC. Looks like there will be a lot of Steam Machine news next year!

Time To Guess What Feral Interactive Are Working On, New Teaser

Feral Interactive are being sneaky, as they have given a little hint towards their next game, and it's quite obvious it's for Linux.

Soul Axiom, A Sci-fi Action Adventure On Steam

Soul Axiom is a fantastic looking mix of a sci-fi story, action, and adventure wrapped up in a neat early access package.

Bear With Me - 2D Black & White, Point & Click "Horror" Noire Adventure

Are you yearning for something a bit different? Bear With Me might be right up your point & click street.

Pocket Rumble A 2D Fighting Game On Kickstarter

Pocket Rumble is a fun looking 2D fighting game currently on Kickstarter that promises a Linux port if they hit a stretch goal, I know what you're thinking, but look past that for a minute.

Red Awakening, A First Person Action/Horror Game May Be Coming To Linux

Red Awakening, the First Person Action/Horror game by the guys over at Domino Effect, may be coming to Linux. The developer confirmed this is a real possibility in an email.

Aspyr Media Have A New Blog Post On Porting Civilization: Beyond Earth To Linux

Another blog post from Aspyr Media has surfaced about their porting efforts on Civilization: Beyond Earth, and the news is looking good.