View the available Shell List

To see a list of existing shells within the system we have, we can see the contents of /etc/shells file.

[lica @ canada ~] $ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh

or by using the chsh command with the -l option

[lica @ canada ~] $ chsh -l
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh

Leave a Reply

Your email address will not be published. Required fields are marked *