Some useful Linux command for your Penetration Testing

What version of the system? What is its kernel version? What is the environment variables? Is there a printer? What services are running? What kind of service has what user rights? Which services have...