Posted in Command Line, Linux chsh Command Binny V A February 21, 2009 4 Comments on chsh Command Command to know if you have to remote into another box chsh --list-shells Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
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:~ Reply
$ 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? Reply
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. Reply
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:~
I am on Fedora 8 – which distro are you using?
Am using EEEbuntu
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.