Bin/sh
From FreeBSDwiki
(Difference between revisions)
Line 2: | Line 2: | ||
Most [[shell scripts]] call on the /bin/sh because of it's very ubiquity. It's been around since the 70's and it's not going to go away anytime soon. This makes shell scripts that use the bourne shell very portable -- if you code a shell script that uses bash or tcsh-only features, you'll soon enough find a system that doesn't have the shell that you wrote it for. | Most [[shell scripts]] call on the /bin/sh because of it's very ubiquity. It's been around since the 70's and it's not going to go away anytime soon. This makes shell scripts that use the bourne shell very portable -- if you code a shell script that uses bash or tcsh-only features, you'll soon enough find a system that doesn't have the shell that you wrote it for. | ||
+ | |||
+ | [[Category: Shells]] | ||
+ | [[Category: The Command Line]] |
Revision as of 18:43, 23 August 2004
/bin/sh is where you will find the ubiquitous and somewhat spartan Bourne shell.
Most shell scripts call on the /bin/sh because of it's very ubiquity. It's been around since the 70's and it's not going to go away anytime soon. This makes shell scripts that use the bourne shell very portable -- if you code a shell script that uses bash or tcsh-only features, you'll soon enough find a system that doesn't have the shell that you wrote it for.