aspose file tools*
The moose likes Linux / UNIX and the fly likes what shell is this Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "what shell is this" Watch "what shell is this" New topic
Author

what shell is this

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I saw a script start with

#! /bin/sh

Is this a Korn shell script ? or Born shell script ? or C shell script ? How can I tell ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41791
    
  62
This list may help. There are others as well, like zsh.


Ping & DNS - my free Android networking tools app
Darrin Cartwright
Ranch Hand

Joined: Dec 27, 2002
Posts: 107
You also might want to run the following command:


Quite often /bin/sh is a symbolic link to another shell, usually bash in modern Linux distributions.


Life is good on the Ponderosa,<br />but mind where you step.
 
Don't get me started about those stupid light bulbs.
 
subject: what shell is this