Display the content of administrative text-based databases

getent {ahosts|ahostsv4|ahostsv6|aliases|ethers|group|hosts|netgroup|network|spasswd|protocols|rpc services|shadow|gshadow}

Generate secure passwords

Install the tool
apt-get install pwgen
Generates a list of 8 char. passwords
pwgen
Generates 1 password of 10 char long
pwgen 10 1

Get the filesystem type of a partition

Get the filesystem type of /dev/sda2
file -sL /dev/sda2
Get the content of the MBR of /dev/sda
files -sL /dev/sda