• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what shell is this

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This list may help. There are others as well, like zsh.
 
Darrin Cartwright
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic