Articles found in "Tutorials" category:

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

Linuxtoday.com

Debian Linux, Android share a bed in upcoming distro

The Register: A new Linux distribution is looking to overcome the limitations of Debian on ARM, by running both Linux apps and Android apps in native mode.

Great Scott! It's Version 13!

LinuxJournal: No matter how much I love Plex, there's still nothing that comes close to XBMC for usability when it comes to watching your network media on a television.

GCC 5.0 Is Expected Next Year

Phoronix: GNU Compiler Collection developers are beginning to come to a consensus that GCC 5.0 will be released in 2015.

6 Excellent Lightweight Linux Distros for x86 and ARM

Linux.com: Presenting a nice assortment of lightweight yet fully-functional Linux distros for all occasions.

4MLinux Rescue Edition 9.1 Beta Is a Good Tool for Beginners and Professionals Alike

softpedia: 4MLinux Rescue Edition, a special distribution that includes a wide set of system maintenance and recovery applications, is now at version 9.1 Beta and is ready for testing.

Modify web content with Apache's mod_substitute and mod_headers

Wazi: These two Apache modules can be useful in creating a staging environment, fixing unsupported web applications, or just adding custom HTTP headers for troubleshooting and monitoring.

Linux Top 3: Slackware Turns 21, Debian Squeezes and Linux 3.16 Nears

LinuxPlanet: On July 17, 1993, Patrick Volkerding announced the released of Slackware Linux 1.0. It was the first real Linux distribution - a packaged compilation of the Linux kernel and utilities needed to make a full 'Linux' operating system.

Chromebook gains, Microsoft worries

 ZDnet: NPD reveals that Chromebook sales are exploding and Microsoft is starting to get worried.

CentOS 7: Upgrading from CentOS 6.x In Place

 LinuxAcademy: In addition to walking through the upgrade process, a lot of good information is shared about how to make the upgrade successful and equally important, laying out scenarios that are likely to give you trouble and why.

GamingOnLinux.com Latest Articles

Halfway Turn Based Strategy Released For Linux, It's Good

Halfway is the brand new game from Robotality that promises to be a beautiful space sci-fi turn base strategy. We have a hint for you: It's good.

Star Ruler 2 4X-RTS Released On Steam For Linux

Star Ruler 2 looks like a fantastic space 4X-RTS game currently in Early Access on Steam, and luckily it comes with a Linux build too.

Sokobond, A Puzzle Game Involving Science Released On Steam For Linux

Sokobond is an interesting take on the puzzle genre that involves science, and it looks rather nice.

GOL Cast: Hacking Looters To Pieces In Mount & Blade: Warband

I really like roleplaying games and I'm always on lookout for new RPGs to play, especially if they are native. You can probably imagine how happy I was when I heard that we'd be getting a new one in the form of Mount & Blade: Warband. Well, let's see if it's any good!

The Long Dark A Post-digital Survival Game To Be On Linux At Launch

The Long Dark promises to be an interesting take on the survival game genre with an "original" art style. It does look pretty good, and the final version will be on Linux.

Mother 4 An RPG & Fan-made Sequel To Mother/Earthbound Coming To Linux

Mother 4 is a traditional RPG set in an idealized vintage America, following the adventures of a young boy and the leader of a biker gang, who get caught up in the whirlwind events surrounding a group calling themselves the Modern Men.

Clockwork Empires From Gaslamp Games Should Be On Linux In August

Clockwork Empires is the next game from the developers behind the hit Dungeons of Dredmor, and they are nearing a Linux release!

Duke Nukem 3D: Megaton Edition Has A New Beta Version With Major Improvements

Duke Nukem 3D: Megaton Edition has a brand new beta version out that has some pretty nice improvements, and for Linux gamers they are great.

So Many Me Puzzle Platformer, Our Impressions On Linux

Brand new to Linux is a funny little game called So Many Me. The game is a charming puzzle platformer that has great visuals and a chirpy main character.

Leadwerks Game Developer Toolkit Now Heading To Steam For Linux

The Leadwerks developers have overcome some issues they faced that prevented the Linux version of Leadwerks appearing on Steam.

Towns Building Sim Is Alive Again, Version 14d Released

Towns has a bit of colourful history sadly, but that hasn't stopped a brand new update coming out which is excellent for anyone who picked it up after all that kerfuffle before.

Where Kerbals Fear To Tread, Kerbal Space Program 0.24 Out Now

Budget caps to blow, reputations to ruin and missions to fail have now come to career mode in the fantastic sandbox space simulator from Squad.

Aperture Tag: The Paint Gun Testing Initiative Now On Steam For Linux

A big Portal 2 mod is now for sale on Steam for Linux promising to expand the game rather a lot with new content. Complete with new characters and voice acting.

SteamOS Update 123 Pushed To Alchemist Beta

Valve's SteamOS has been updates again and here's the low down on SteamOS. Now with less reboots needed!

Open Source FPS/RTS Hybrid Unvanquished Alpha 29 Released

The great looking Unvanquished has once again pushed out a major alpha bump to the game bringing it that step closer to a more stable and feature filled game.