---
updatedAt: 2025-08-14T13:35:26.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-central/llms.txt
---

# Linux - Basic System Info

```shell Shell Script (.sh)
#!/bin/bash

# Prints detail on hardware and software for Linux systems. Helpful for diagnosing
# and troubleshooting.

# get OS, kernel version
cat /proc/version

# get running software, basic hardware info
uname -a

# more detailed hardware info
lshw 2> /dev/null

# CPU specific
lscpu 2> /dev/null

# additional components details
dmidecode 2> /dev/null

```

```json Response Example
{"success":true}
```

# SCRIPT