Articles found under tag: tutorial

headimage

Top 10! Fun On The Command Line

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

ODT to TXT, but keep the line numbering

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Scripting a 4-Color Multiple Grepper

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

Tips on Tables

Posted in Tutorials

By Bob Mesibov

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 full article
headimage

A Pivot Table In AWK

Posted in Tutorials

By Bob Mesibov

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read full article
headimage

Why I (sometimes) love regular expressions

Posted in Tutorials

By Bob Mesibov

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read full article
headimage

Scripting a 'Find-and-Replace' for big text files

Posted in Tutorials

By Bob Mesibov

EDIT 26/04/2014 I wrote the original fandr script to do single-word replacements in big files. To do multiple-word find-and-replace, the 'needle' variables have to be double-quoted, as in the revised script below. An example of a multiple-word replacement is at the end of this article. I use two…

Read full article
headimage

Multiple-item data entry with YAD

Posted in Tutorials

By Bob Mesibov

YAD (Yet Another Dialog) creates GUI dialogs for data entry, user notification, etc. It was written by Victor Ananjevsky and is described as a fork of Zenity. In fact, it greatly extends Zenity and has a very large number of handy options. Here I explain how to build a multiple-item data entry form…

Read full article
headimage

Scripting an OCR text archiver for Trove

Posted in Tutorials

By Bob Mesibov

Trove is the National Library of Australia's online database. It contains almost 400 000 000 digital items, including Australian newspaper articles from 1803 to 1954. Trove's newspaper portal is particularly useful. You can view an entire digitised newspaper page, or select (or search for) an…

Read full article
headimage

How to kill blank lines elegantly

Posted in Tutorials

By Bob Mesibov

If you do a Web search for 'linux delete blank lines' you'll find lots of command-line advice. Some of the advice, though, only applies to special cases. Here I explain two elegant and general methods for finding and deleting any blank lines in a text file. As a sample text I'll use the 8-line file…

Read full article

Linuxtoday.com

CoreOS Stable Release

This version is the most tested, secure and reliable version available for users wanting to run CoreOS.

Wireless speakers stream audio from web and WLAN

 LinuxGizmos: Denon debuted a line of Sonos-like wireless multi-room HiFi speakers that stream audio from both Internet and local sources, and run on embedded Linux.

Feral Interactive Are Teasing New Linux Games

 GamingOnLinux: Feral Interactive are little devils as they sent out a link earlier to a teaser page of new ports for Mac & Linux, but which ones will be on Linux?

ownCloud 7 Release Enhances Open Source Private Clouds

 The VAR Guy: The recently released open source ownCloud 7 Community Edition introduces an innovative way to share files securely between private clouds, as well as interface enhancements and better ways to work with Microsoft Word documents.

Ubuntu 14.04.1 LTS released

 ITworld: Now it's time for another Ubuntu upgrade, albeit a much smaller one.

How to use awk command in Linux

 xmodulo: Text processing is at the heart of Unix

Deepin 2014 review

 LInuxBSDos: There's no fighting the desktop just to get stuff done.

Celebrating sysadmins in the cloudy future

 OpenSource.com: System administration can be a thankless job.

WordPress Under Attack Again

eWEEK: The open-source WordPress blog and content management system (CMS) software is widely deployed and is increasingly being targeted by attackers too.

GamingOnLinux.com Latest Articles

Gods Will Be Watching Now Out For Linux, And It's Hard

Gods Will Be Watching is a game that is quite hard to describe, and it's bloody hard as well. It's a pixel art point and click adventure game where you need to be quite brutal.

Darkwood Arrives To Scare Linux Gamers

Darkwood is an interesting take on the horror and survival genre with a top down perspective and a really dark setting.

The Incredible Adventures Of Van Helsing 1 Is In Closed Beta On Linux

It was already reported that The Incredible Adventures Of Van Helsing is coming to Linux a while ago. I can now confirm that the first game is in closed beta on Linux right now. Even though the game is in early beta and is quite rough around the edges, it looks great and is mostly playable.

The Wine Development Release 1.7.23 Is Now Available.

Wine development team was able to produce a new experimental release today. 1.7.23 bringing many new features and as many as 42 bugfixes.

Feral Interactive Are Teasing New Linux Games

Feral Interactive are little devils as they sent out a link earlier to a teaser page of new ports for Mac & Linux, but what ones will be on Linux?

The New Unreal Tournament Is Shaping Up In A New Video

A new video from the team at Epic creating the new Unreal Tournament shows off how good it looks already.

Age Of Wonders III Blog Update On Linux Support

The developers of Age of Wonders III have written a blog post giving us a little bit more of an insight into their porting work.

Among The Sleep Is Now Playable On Linux

Good news everyone! Among The Sleep is now playable on Linux after yesterday's patch which fixed the major graphical glitches for OpenGL.

Trine Enchanted Edition For Linux Delayed, Plus A Short Interview

The Linux release of Frozenbyte's overhaul of Trine to use the Trine 2 engine has slipped behind the Windows version. Read on for a short interview with the developers looking at the "Enchanted Edition", and their thoughts on Linux.

GOG Com Now Officially Support Linux Games

Today marks a big day for Linux and DRM free gaming. GOG.com are now officially supporting Linux on their store, and so that's pretty much all major online stores supporting Linux.

Dungeon Defenders Eternity Released For Linux On Steam

Dungeon Defenders Eternity is a revamp of the original Dungeon Defenders with new features, and cross platform play with mobiles too.

Unrest Adventure RPG Game Released For Linux

Unrest is an adventure RPG that adapts to death, failure, and the choices you make. Play as ordinary people struggling for food, safety, freedom, and a chance at peace. Explore an ancient Indian city using conversation, manipulation and (rarely) violence.

Frozen Endzone Is Now Frozen Cortex & It's Now Out On Linux

Frozen Cortex is the brand new game from Mode 7 who you will remember created Frozen Synapse. Two days ago they added the Linux builds to their new game!

Get CD Projekt RED To Answer Questions About The Witcher 3 For Linux

An interesting opportunity has arisen for Linux gamers to find out if The Witcher 3 is going to come to Linux, and if it's native or not.

Valve Have Another New Design For The Steam Controller

Thanks to the quick tweeting work from SteamDB we now know Valve could be changing their controller yet again.