Category Archives: Operating Systems

Debian : Resume apt-get after SSH timeout

Your SSH connection get cut or timeout while you were either updating or installing an application with apt-get? Don’t worry, these easy steps will get you out of trouble! 1. Try to run your command again : root@server:~# apt-get install <app_name> E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) E: Unable… Read More »

Windows : How to automatic logon

Here is how to turn on user automatic logon for Windows 7 and Windows Server 2008. Windows 7 : Both options are available (using the GUI or directly modifying the registry as for Windows Server 2008). – Start > Run – Type “control userpasswords2” – Then click OK [x] > [ ] Uncheck the box… Read More »

Linux : How to view hard disk partitions UUIDs?

On modern/latest Linux and Unix distributions, system rely on UUID rather than disk device name itself. To find out the UUID, you can use this simple command called “blkid” : blkid <DEVICE_PARTITION_NAME> Example : blkid /dev/sda1 Will return something like this : /dev/sda1: UUID=”1abd977f-65e0-46ab-b2bb-3651053c6e77″ TYPE=”ext4″

Linux : Changing process priority

Here is a quicky how to change/modify the priority of a process on your system task scheduler. I will first explain how to change the priority of an existing process and then for new processes. 1. Find out the current priority either using “top” or with the specific process ID : ps -o pid,comm,nice -p… Read More »

Linux : How to hard reset remotely

If like a lot of sysadmin, you manage servers in a remote location and usual clean shutdown dosen’t work but you still have console access, there is a workaround to send an interrupt that will do exactly the same as you push the reset button. Since a reset on a heavy used server is never… Read More »