Skip to content

Instantly share code, notes, and snippets.

@toransahu
Last active August 1, 2018 06:54
Show Gist options
  • Select an option

  • Save toransahu/4fd3abc369bb5c8a1ee424af07cb1563 to your computer and use it in GitHub Desktop.

Select an option

Save toransahu/4fd3abc369bb5c8a1ee424af07cb1563 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ "$(hostname)" = mint-ethereal ]; then
echo "something"
elif [ "$HOSTNAME" = mint-ethereal ]; then
echo "something"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment