Sample Header Ad - 728x90

Getting search results for Bourne shell

4 votes
4 answers
454 views
So, there are many types of shells in Linux... > Different Types of Shells in Linux > > The Bourne Shell (sh) ...
> The GNU Bourne-Again Shell (bash) ...
> The C Shell (csh) ...
> The Korn Shell (ksh) ...
> The Z Shell (zsh) I have a project where I have to put together a script for the Bourne shell, starting with shebang **#!/bin/sh**. But whenever I use Google to learn about some detail, I always get tons of results for **bash**, which I suspect are ok to use with **sh**, but not always... So I want to tell Google, "No! Give just stuff for the original Bourne shell!". But people don't type the string "Bourne shell" into most of their web pages, so Google can't help me directly with that. Adding **"sh"** to my search query doesn't help much, it matches .sh file extensions, and it matches bash! Adding **"#!/bin/sh"** to my search query is _somewhat_ helpful - but I will see only results in scripts, when sometimes the simple anwsers are presented as terminal commands (which we can then adapt for use in scripts). I know there won't be any "silver bullet" perfect solution, but in a spirit of "tips and tricks", would any of you suggest clever ways to narrow down my results like I intend? Or is the only solution to use a handful of authoritative Bourne shell documentation sources? If so, which ones?
Asked by pgr (151 rep)
May 22, 2021, 09:38 AM
Last activity: May 22, 2021, 08:41 PM