Last active
May 22, 2018 11:46
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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