How to control site access in Linux: Block unwanted websites

Sometimes you might face a situation where you would want to prevent and block access to a certain websites for one reason or another. In Linux blocking an access to an unwanted website(s) can be quite easily achieved with the following simple procedure.

1. Open terminal client (gnome-terminal, lxterminal, guake, or something else)

2. write the following commands to become a root user so you can edit /etc/hosts file Continue reading

Update alternatives

Sometimes when tweaking and adjusting a system a need to select the default applications may arise. In Linux systems selecting the defaults has been made easy via terminal with update alternatives commands

In oder to take advantage of update alternatives open your terminal (gnome-terminal, lxterminal…) and use for example following commands to adjust your system. Continue reading

Create a terminal failsafe session

Some times it happens that when doing system tweaks you accidentally remove the wrong packages which will result in having an unstable and possibly even an unfunctional system. So in order to get through the bad scenario of unusable system it might be in place to create a session entry to your session manager (lightdm, gdm3…) so you can open up a failsafe terminal  session if everything else fails on your gui elsewhere. Continue reading

Install program in a Linux via terminal: The simple case scenario

Sometimes it may happen that you will actually need to install something manually: there might not be a recent enough version from the program which you need or the program may be absent all together. Solution for the previous hardship is installing the program from source code via terminal. Continue reading