Skip to content

Instantly share code, notes, and snippets.

@mowat27
Created November 1, 2012 09:52
Show Gist options
  • Save mowat27/3992789 to your computer and use it in GitHub Desktop.
Save mowat27/3992789 to your computer and use it in GitHub Desktop.
Linux Config Notes
echo HOST.DOMAIN.com > /etc/hostname
/bin/hostname -F /etc/hostname
/etc/init.d/httpd restart
# Add to /etc/hosts
127.0.0.1 HOST.DOMAIN.com
# Find out what is using a port
lsof | grep 8009
# Find out is a server is responding on a port
# Try to telnet on that port
$ telnet HOST.DOMAIN.com 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment