Language Selection

English French German Italian Portuguese Spanish

Linux Fu: Alternative Shells

Filed under
GNU
Linux

On Unix — the progenitor of Linux — there was /bin/sh. It was simple, by comparison to today’s shells, but it allowed you to enter commands and — most importantly — execute lists of commands. In fact, it was a simple programming language that could make decisions, loop, and do other things to allow you to write scripts that were more than just a list of programs to run. However, it wasn’t always the easiest thing to use, so in true Unix fashion, people started writing new shells. In this post, I want to point out a few shells other than the ubiquitous bash, which is one of the successors to the old sh program.

Since the 7th Edition of Unix, sh was actually the Bourne shell, named after its author, Stephen Bourne. It replaced the older Thompson shell written in 1971. That shell had some resemblance to a modern shell, but wasn’t really set up for scripting. It did have the standard syntax for redirection and piping, though. The PWB shell was also an early contender to replace Thompson, but all of those shells have pretty much disappeared.

You probably use bash and, honestly, you’ll probably continue to use bash after reading this post. But there are a few alternatives and for some people, they are worth considering. Also, there are a few special-purpose shells you may very well encounter even if your primary shell is bash.

Read more

More in Tux Machines

Android Leftovers

Games: Embr, Darkest Dungeon: The Butcher's Circus, CONSCRIPT, Tilekit, OBS Studio

  • Gig economy firefighter parody 'Embr' has a new game mode

    Embr, a game that pokes fun at the rise of the gig economy by letting anyone tackle fires adds a whole new game mode. With my initial look at the game on Stadia I found it to be pretty amusing, although it does still feel a little basic. This update appears to be the start of Muse Games expanding on the promise of it, putting a new spin on it by combining the firefighting with food delivery.

  • Darkest Dungeon: The Butcher's Circus for Linux is getting really close

    Darkest Dungeon: The Butcher's Circus, the free DLC that adds in an online PvP mode will be coming to Linux really soon going by their latest update. This special PvP mode is entirely separate to the campaign, giving you access to a new set of heroes to fight with. While it's currently only available for Windows officially, Red Hook Studios have been working to iron out all the kinks that came with it before rolling it out to other platforms.

  • WW1 top-down survival horror 'CONSCRIPT' gets a Kickstarter extension

    Currently crowdfunding on Kickstarter, the promising looking top-down WW1 survival horror CONSCRIPT has been granted an extension to their campaign. Originally due to finish on July 16, they've now got until July 23 to hit the $30,000 Australian dollars (about £16,559) goal. "During the First World War, a lone French soldier must navigate twisted trenches, scavenge for limited supplies and solve complex puzzles - all whilst fighting for survival in the midst of mankind’s most brutal and horrifying conflict."

  • Tilekit looks like a great tilemap editor with auto tiling

    Some parts of developing games can end up quite tedious like manually placing down tiles for 2D games, and it seems Tilekit might be able to help with that. Tilekit is a tilemap editor, one that's centred around pattern-based auto tiling. It's quite clever and could end up being a nice time-saver. Tilekit works by using an input map of basic tiles and a set of user-defined rules to create the resultant output map from your tileset.

  • OBS Studio – Stream From Linux Distribution

    OBS Studio is the all-in-one tool for streaming your video in real-time. It is free to use, open-source, and supports all major platforms including Linux. In this article, I will walk you through a tour of OBS Studio. You will learn how easy it is to stream your video from your Linux computer.

today's howtos

Qt Creator 4.13 Beta released

We are happy to announce the release of Qt Creator 4.13 Beta! Here are some excerpts from our change log: New Experimental Plugins Thanks to Alexis Jeandet for initial support for the Meson build system! Thanks to IncrediBuild for contributing their Qt Creator integration! You need to open Help > About Plugins (or Qt Creator > About Plugins on macOS) and enable these plugins before you can use them. Editing We updated LLVM for the C++ code model to LLVM 10, implicitly improving support for C++20 features. We fixed many smaller issues with the C++ code model... Read more Also: Qt Creator 4.13 Beta Released - Finally Offers Meson Build System Integration