SSD or spinning disk?
By jeltsch on Wed, 09/12/2018 - 19:57sudo apt install smartmontools
sudo smartctl -a /dev/sda
or
cat /sys/block/sda/queue/rotational
sudo apt install smartmontools
sudo smartctl -a /dev/sda
or
cat /sys/block/sda/queue/rotational
Scanning my home network for all devices that are listening
on port 80 (http):
nmap -p80 192.168.0.0/24 -oG - | grep 80/open
Sometimes this doesn't work (because nmap tries to be smart and only scan hosts that are available). In order to make nmap scanning without intelligence, use the e-Pn (no ping) option. This scans all ports of host 192.168.0.2:
nmap -Pn -p0-65535 192.168.0.2
I am not sure, but Windows seems to be the only operating system, that wants the computer clock to be set to the local time zone instead of universal standard time (UTC). Maybe that is a relic of the times when Microsoft thought that the internet was not very important for the future of computing. All other operating systems apparently use UTC: MacOS, Android, Linux, BSD, ... However, if you are dual-booting your computer, you can get into trouble. Not all operating systems detect automatically a dual boot install and adjust their behaviour in order to be compatible with Windows.