4 thoughts on “chsh Command

  1. sindhu@sindhu-eeepc:~chsh –list-shells
    chsh: unrecognized option ‘–list-shells’
    Usage: chsh [options] [LOGIN]

    Options:
    -h, –help display this help message and exit
    -s, –shell SHELL new login shell for the user account

    sindhu@sindhu-eeepc:~

    • $ chsh --list-shells
      /bin/sh
      /bin/bash
      /sbin/nologin
      /bin/zsh
      
      $ chsh --help
      Usage: chsh [ -s shell ] [ --list-shells ] [ --help ] [ --version ]
             [ username ]
      

      I am on Fedora 8 – which distro are you using?

Leave a Reply

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