Skip to content

How to list which login shells are available in the system

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
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. How to change the login shell?
  2. How to check failed login attempt in Ubuntu
  3. List 10 most often used commands
  4. List files in a tar file
  5. List file by date

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*