System Information

The following commands show you how to extract useful information about your Operating System.

Get OS Version

$ cat /etc/os-release

Get Linux Version

$ uname -srm

Get Shell Name

$ echo "$SHELL"

Get Desktop Name

$ echo "$XDG_CURRENT_DESKTOP"

Show RAM Usage

$ free -m  # in megabytes
$ htop

Show Disk Usage

$ df -h

List Running Services

$ systemctl

View Logs for a Service

$ journalctl -u service-name

Show IP Addresses

$ ip addr show

Get System Hardware Information

$ echo "inxi" >> ~/Aptfile && apti
$ inxi --basic

Show Screen/Montior Information

$ xrandr

results matching ""

    No results matching ""