scan your network with bash IP scan script

Here is the youtbe video that will walk you through bash script.

 

ssh trick – with bastion host

Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:

bastion host

 

Now, in such cases, either you add an entry in “~/.ssh/config

check hard disk rpm or rotation speed

Lot of times you want to check the disk rpm, especially on the servers to check if it is 7.2K or 10K or 15K rpm disk. How do you do this from linux terminal. Here it is :

 

sginfo -g /dev/<device>

Note that sginfo comes from sg3-utils.