In this post, we are going to use the terminal to make a browser default.
Even though, this can easily be done using the browser’s main interface, is handy sometimes if you need to do this remotely.
To do this you simply open up the terminal and run the line of code below:
Enter the number beside the browser you wish to make default and you are done.
sudo update-alternatives --config x-www-browser