DEV Community

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

Posted on

2 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)

Dev Diairies image

User Feedback & The Pivot That Saved The Project ↪️

We’re following the journey of a dev team building on the Stellar Network as they go from hackathon idea to funded startup, testing their product in the real world and adapting as they go.

Watch full video 🎥

👋 Kindness is contagious

Sign in to DEV to enjoy its full potential—unlock a customized interface with dark mode, personal reading preferences, and more.

Okay