4 thoughts on “chsh Command

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

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


  2. $ chsh --list-shells
    $ chsh --help
    Usage: chsh [ -s shell ] [ --list-shells ] [ --help ] [ --version ]
           [ username ]

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

  3. That explains it. I just checked the command in Xbuntu – it has a different chsh command too. I am not sure why fedora is different. Sorry about the confusion.

Leave a Reply

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