Permanently automatically answer 'Yes' when using apt-get install - installing packages

Open your bashrc file

sudo nano .bashrc

2. add the following

alias apt-get='apt-get -y'

And that's it. never have to press 'Y' when installing things again!



Popular posts from this blog

Append to a json file python

Setup Mailhog mail server on Ubuntu