Skip to content

Instantly share code, notes, and snippets.

@gmacario
Created January 27, 2016 08:16
Show Gist options
  • Save gmacario/124193e33b7e0e6f7110 to your computer and use it in GitHub Desktop.
Save gmacario/124193e33b7e0e6f7110 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
echo "INFO: gm-sysinfo.sh"
echo ""
echo "INFO: Executing uname -a"
uname -a
echo "INFO: Executing id"
id
echo "INFO: Inspecting PATH"
printenv PATH
echo "INFO: Executing df -h"
df -h
# echo "INFO: Executing sudo id"
# sudo id
echo "INFO: Executing printenv"
printenv
# EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment