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

Articles found in "Tutorials" category:

Finding unmatched braces (brackets)

By

Recently I was checking for unmatched braces in a big text file with nearly half a million lines (300+ MB). Was there a closing brace for every opening brace? The text file was called 'beetle' and was actually a tab-separated table with each line divided into 77 fields. What I wanted to do was find…

Read Article

How to use flags in AWK

By

Flags in AWK are variables which are set to either true or false. They're handy for defining ranges over which AWK can act, as shown below. The AWK used here is GNU AWK 4.1.1 (gawk 4). Sometimes flags aren't needed I'll demonstrate with a simple text file called demo, which has 6 lines with 3…

Read Article

Proofreading for illusions with grep and AWK

By

Lexical illusions are very hard to find when proofreading. The most common lexical illusion is a duplicated word, as in this well-known example: A lexical illusion: many people are not aware that the the brain will automatically ignore a second instance of the word 'the' when it starts a new line. …

Read Article

Transposing rows and columns: 3 methods

By

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

Installing Firestorm (Second Life viewer) for Linux

By

Unless you've lived under a virtual rock since 2003, you have probably heard of Linden Lab's baby, Second Life at some point. The online virtual world, where you can literally pretty much do anything, might not be at the peak popularity it once experienced but there is still plenty going on. If…

Read Article

I think I like backreferences (sometimes)

By

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

By

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

By

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

By

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

By

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

News Elsewhere

Linuxtoday.com

How to build a WiFi picture frame with a Raspberry Pi

Use a Raspberry Pi to DIY a digital photo frame that streams photos from the cloud.

Six years ago Steam was released for Linux - Happy Birthday

Happy official birthday to the Steam client for Linux

Ethical Hacking, Ubuntu-Based BackBox Linux Is Now Available on AWS

The BackBox Linux operating system promises to offer Amazon Web Services users an optimal environment for professional penetration testing operations

How to Flush DNS Cache on Ubuntu 18.04 LTS

The following guide shows you how to Flush the DNS Cache in Ubuntu 18.04

6 Ways to Open Folders in Ubuntu 18.04 LTS

Opening folders in Ubuntu is one of the basic tasks you will perform as a regular Ubuntu user.

How To Change HostName In Linux?

2DayGeek: Simple methods to change hostname in Linux.

Run Particular Commands Without Sudo Password In Linux

ostechnix: This brief tutorial describes how to run particular commands without sudo password in Unix-like operating systems.

Load Testing Web Servers with Siege Benchmarking Tool

Knowing how much traffic your web server can handle when under stress is essential for planning future grow of your website or application.

Some pretty useful YUM tips & tricks

Yum is the default package manager for RPM packages on RHEL & CentOS.

GamingOnLinux Latest Articles

Ravenfield, the single-player FPS with large-scale battles has a new release out

Tags: FPS, Early Access, Action, Indie Game, Unity, SteamMore FPS news for you this weekend, with the single-player Ravenfield having another great…

The unique FPS 'Shotgun Farmers' is leaving Early Access next month

Tags: Action, Indie Game, Unity, FPS, Steam, Early AccessShotgun Farmers, by far one of the most unique FPS games I've played in a long time is due…

The first Steam Play update for this year is out with Proton 3.16-7 beta

Tags: Steam Play, Valve, Steam, BetaValve have pushed out a Steam Play beta update with Proton 3.16-7 now available for testing. Lots of fixes! Not…

Wine 4.2 is officially out with plenty of game fixes

Tags: WineThe Wine team are having a busy year once again, with the second development release for Wine 5.0 out as the bottle for Wine 4.2 is now…

A look at what games and bundles are on sale ahead of the weekend

Tags: Game Sale, Game BundleAh yes, another weekend is about to crash into our lives and so you're looking for a new game to sink some hours into.…

Dungeons 3 has a new unexpected DLC out today, adding in another campaign

Tags: Strategy, DLC, Steam, Humble Store, GOGI have to hand it to Realmforge Studios and Kalypso Media Digital, they've supported Dungeons 3…

The 2D beat 'em up 'Tunche' is another game funded on Kickstarter and heading to Linux

Tags: Beat 'em up, Crowdfunding, Indie Game, Coming SoonAnother bit of positive crowdfunding news for you today, as Tunche, the 2D beat 'em up with…

Forgiveness, a new escape room style puzzle game is coming to Linux this month

Tags: Coming Soon, Indie Game, Puzzle, SteamWith themes based around the seven deadly sins with psychological-horror vibes, Forgiveness, a new escape…

Eastshade, the peaceful open-world exploration game is still coming to Linux

Tags: Coming Soon, Delayed, Steam, Indie Game, Open World, Exploration, Itch.ioWhile the Linux version of Eastshade sadly didn't arrive at release,…

Apparently Valve are working with Easy Anti-Cheat to get support in Steam Play (updated: yup)

Tags: Valve, Steam, Steam Play, WineUpdate: Turns out, this is true. As a Valve developer did reply to a user on the VKx Discord to say "they're…

Fancy working on Wine to help push Steam Play? CodeWeavers are hiring

Tags: Wine, Steam Play, JobsCodeWeavers, the company that supports Wine development that's working with Valve on Steam Play are looking to recruit…

Littlewood, the peaceful building RPG has been fully funded and it's on the way to Linux

Tags: Crowdfunding, Indie Game, Coming Soon, RPGUnlike a lot of RPGs, Littlewood actually takes place after all the action has been done. It's your…

Sid Meier's Civilization VI: Gathering Storm is out with Linux support as expected

Tags: Strategy, DLC, Aspyr Media, Humble Store, SteamSid Meier's Civilization VI: Gathering Storm, the massive new expansion has arrived and as…

Game porter and Steam Play dev Ethan Lee is running a crowdfunding campaign

Tags: CrowdfundingNintendo's USB GameCube adapter for the Wii U and Switch could soon work on Linux, Mac and Windows if this crowdfunding campaign…

We. The Revolution, a unique looking strategy game set during the French Revolution will be on Linux

Tags: Strategy, Coming Soon, GOG, SteamFor those after a strategy game that certainly looks unique, We. The Revolution is bringing the blood-soaked…