Skip to content

Instantly share code, notes, and snippets.

@torumakabe
Created December 12, 2013 04:18
Show Gist options
  • Save torumakabe/7923123 to your computer and use it in GitHub Desktop.
Save torumakabe/7923123 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Hello World. The time is now $(date -R)!" | tee /home/ubuntu/output.txt
echo 127.0.1.1 $(hostname) >> /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment