As flagged by @matthewmorek, working in bash would be facilitated by having bash completion installed.
Eg. typing serv[tab] php[tab] res[tab] should complete to service php7.0-fpm restart
The following needs to be added to the container.
apt-get install bash-completion
Uncomment the following in /etc/bash.bashrc:
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
As flagged by @matthewmorek, working in bash would be facilitated by having bash completion installed.
Eg. typing
serv[tab] php[tab] res[tab]
should complete toservice php7.0-fpm restart
The following needs to be added to the container.
Uncomment the following in
/etc/bash.bashrc
: