Skip to content

Instantly share code, notes, and snippets.

@takakabe
Created September 13, 2017 10:19
Show Gist options
  • Select an option

  • Save takakabe/17fbcc83cdc900147c5f948c0b3bbb47 to your computer and use it in GitHub Desktop.

Select an option

Save takakabe/17fbcc83cdc900147c5f948c0b3bbb47 to your computer and use it in GitHub Desktop.
ShellScript
#!/bin/bash
if [ "${REMOTEHOST}" ] ; then
echo "remote dayo"
else
echo "local dayo"
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment