Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@glegoux
Last active May 22, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glegoux/6b0207fda7c9a4735ddbc55d5cdc0f4d to your computer and use it in GitHub Desktop.
Save glegoux/6b0207fda7c9a4735ddbc55d5cdc0f4d to your computer and use it in GitHub Desktop.
[Bash] Know operating system and resources on a computer running on GNU/Linux
#!/usr/bin/env bash
#
# Know operating system and resources on a computer running on GNU/Linux
echo "* kernel version"
uname -srov
echo "* distribution version"
cat /etc/os-release
echo "* hardware platform version"
uname -mi
echo "* processor version"
uname -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment