This is the secound part of Linux – information gathering.
With the following commands, you get information about peripheral devices. The command „lsusb“ lists all USB devices.
The command „lspci“ lists all PCI devices.
The command „lpstat“ lists all printer devices.
To find out who you are, you can use „id“. That command prints real and effective user and group IDs.
The „who“ command shows who is logged on.
Indicates who is logged on the system and what he is doing.
With „last“ you can get a list of the last logged-in users.
Take a look in the home directories, if you have access to them.
ls -al /root/ ls -al /home/
In this home folders can more user information be found.
cat ~/.bashrc cat ~/.profile
Some interesting mail information can be found in the following folders:
cat /var/mail/root cat /var/spool/mail/root
Information about user rights can be found in the following configuration files.
cat /etc/passwd cat /etc/sudoers cat /etc/group cat /etc/shadow
Private Key Information
The private keys can be found in the following folders:
ls ~/.ssh/* ls /etc/ssh/*
Thx @Programming Wolf