Skip to content

Instantly share code, notes, and snippets.

@uhziel
Created September 6, 2012 05:08
Show Gist options
  • Save uhziel/3651509 to your computer and use it in GitHub Desktop.
Save uhziel/3651509 to your computer and use it in GitHub Desktop.
human version of uname
unameh()
{
echo "kernel-name: $(uname --kernel-name)"
echo "nodename: $(uname --nodename)"
echo "kernel-release: $(uname --kernel-release)"
echo "kernel-version: $(uname --kernel-version)"
echo "machine: $(uname --machine)"
echo "processor: $(uname --processor)"
echo "hardware-platform: $(uname --hardware-platform)"
echo "operating-system: $(uname --operating-system)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment