diff --git a/book/04-git-server/sections/setting-up-server.asc b/book/04-git-server/sections/setting-up-server.asc index 642f43dda..17fd9dbdb 100644 --- a/book/04-git-server/sections/setting-up-server.asc +++ b/book/04-git-server/sections/setting-up-server.asc @@ -97,7 +97,7 @@ To do so, you must first add the full pathname of the `git-shell` command to `/e ---- $ cat /etc/shells # see if `git-shell` is already in there. If not... $ which git-shell # make sure git-shell is installed on your system. -$ sudo vim /etc/shells # and add the path to git-shell from last command +$ sudo -e /etc/shells # and add the path to git-shell from last command ---- Now you can edit the shell for a user using `chsh -s `: