DEV Community

Cover image for Linux: Getting system info
Mariam Reba Alexander
Mariam Reba Alexander

Posted on

3 1 1 1 1

Linux: Getting system info

One needs to be familiar with certain shell commands to investigate system and network configurations and identify vulnerabilities in a Linux system and other processes.

Some of the useful ones are:

  • whoami - to find out the current user, and who to identify logged-in users, particularly useful during reverse shell access on a host.
  • uname - prints system information, which is helpful for gathering details about the machine's hardware, kernel release version and operating system.
  • netstat- provides network status.

There are many more commands that can reveal a wealth of information about the user, system, and network. These commands also expose vulnerabilities that can be exploited by either an attacker or a security tester to close security gaps.

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay