Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I check the available shells in Mac OSX?

How can I check all the different shells that I can use in OSX Terminal application?

The default one is bash, and I know zsh because I tried and it worked. I wonder how can I check if there are any more than this two.

like image 422
davigueras Avatar asked Oct 15 '25 15:10

davigueras


1 Answers

The easy way is go to /etc and check the shells file. The content is the list of shells available in Mac OSX.

The included by default are:

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh

Alternatively, you can check their binaries by going to /bin and recognising them visually. Naturally, you have to know them in order to recognise them.

like image 94
davigueras Avatar answered Oct 17 '25 03:10

davigueras