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

Raspberry Pi 4 & Manjaro Plasma 20.04 - Jolly good?

Manjaro Plasma for ARM v8 (Pi 4 among others) is an interesting concept. But it's not mature enough just yet. There are too many teething problems, chief among them being video performance and heating. The conflict with package manager is also troubling, as it renders the system unusable with ordinary users. Various other bugs and papercuts, including some that I've not really mentioned, the styling and branding, plus the leftovers from the image building process all leave their negative mark on the total score. From the usability perspective, Manjaro Plasma runs just fine. The speed is quite decent when it comes to how quick and responsive the desktop is. I am quite pleased with the overall concept - this is an advanced and complete desktop solution - weighed down with sub-optimal performance and bugs. I hope these will be resolved soon, because I would then even consider Manjaro for my mini-real production setup, and that would be quite a step from where my workflow normally floweth. At the moment, Raspberry Pi OS remains the optimal if not ideal distro for Raspberry Pi 4. Well, we shall see how this evolves. Take care and stay tuned. Read more

Collection of Multiboot Making for Distros

Thanks to my business going well with shipping many usb flash drives in Indonesia, I managed to make multiboot many distros previously I could not. Most notably are Deepin, openSUSE, Slackware which are not supported, aside from the ones automatically supported to make multiboot with notably Ubuntu family and Fedora, not to mention others. Now as I have many notes about them I want to list them out here in one place. Happy booting! Read more

Today in Techrights

Android Leftovers