# phpman > man > remove-shell(8)

[REMOVE-SHELL(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)                        System Manager's Manual                       [REMOVE-SHELL(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)



## NAME
       remove-shell - remove shells from the list of valid login shells

## SYNOPSIS
       **remove-shell** _shellname_ [_shellname_...]

## DESCRIPTION
       **remove-shell**  operates  on the temporary files _/etc/shells.tmp_ and _/etc/shells.tmp2_ to remove
       the given shells from  the  list  of  valid  login  shells,  and  copy  the  result  back  to
       _/etc/shells_.

## SEE ALSO
       [**shells**(5)](https://www.chedong.com/phpMan.php/man/shells/5/markdown)



                                             7 Apr 2005                              [REMOVE-SHELL(8)](https://www.chedong.com/phpMan.php/man/REMOVE-SHELL/8/markdown)
