How to install VBox Guest Additions to a Debian Vm

Screenshot-VirtualBox - AboutHere is how i installed Virtual Box guest additions to my Debian Virtual Machine. This is in a bigger project so i can produce my own Vagrant boxes with any operating system i want. Also this is a good practice when a new Virtual Machine is installed.

First of all start you Vm from the Virtualbox GUI.

Once the Vm has sarted, click on the menu “devices” present on the running Vm window, and select “Install Guest Additions…”. Continue reading

Debian: how to decently sort du -sh *

dufHow to sort du by size.

The utility du works very well and in a linux mentality, basically it is perfect because it does just one thing but it does that at best.

So nothing to complain for the du utility, but you can always improve your tools.

I’m not the author of this script, but i publish it here for me as well, because I’m pretty sure it will be very useful in the next future.

Continue reading

Debian: how to sudo without password

sudo_with_no_password

How to execute commands as root without being asked for the password is a convenient time saving option. But not just time saver, but also it will let you acting always as a the same user, so it will be easier to keep the history together.

Let’s say you want this exception to be applied just to your user and not to all users. For do this you have to edit your sudoers file using visudo:
Continue reading

Debian and Raspbian Rcconf: manage programs at boot.

debian-logoHow to list / change / remove programs at startup on Debian

Here it is How to check which programs or services run at boot of your linux box.

The rcconf utility makes a great job, but first of all we need to install it, as it os not bundled together with debian or raspbian, this is because a real man should use the command line to do this…

Continue reading