Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to list which login shells are available in the system

Answer:

View the file /etc/shells, and you will find all the valid login shells

$ cat /etc/shells
# /etc/shells: valid login shells
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
...
/bin/bash
  1. How to change the login shell?
  2. List all the installed Perl modules
  3. How to check failed login attempt in Ubuntu
  4. Find all files on a system larger than X MB
  5. Display current login user information

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>