Skip to content

Instantly share code, notes, and snippets.

@AaronPhalen
Last active September 30, 2015 22:26
Show Gist options
  • Save AaronPhalen/92367b794796089b7924 to your computer and use it in GitHub Desktop.
Save AaronPhalen/92367b794796089b7924 to your computer and use it in GitHub Desktop.
Basic linux commands pertaining to networking
Author: Aaron Phalen | Twitter: @aaron_phalen | Email: [email protected]
Basic Linux Networking Commands
===============================
1. Hostname
a. hostname --> returns system hostname
b. hostname -d --> returns system hostname domain
c. hostname -f --> returns system hostname fully qualified domain name
d. hostname -i --> returns ip address of system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment