Get your local IP address like pro
2016-07-10
50 words
1 min read
In shell scripts if you need to get you local IP address corresponding to your hostname then you can use this command
hostname -i
Related articles across the web
Related Articles:
- 2015/11/30 Disk usage by file type
- 2015/10/15 Get count of lines in scripts (shell)
- 2015/07/09 evvsubst – substitute variables in text in shell
- 2012/03/02 15 Linux Bash History Expansion Examples You Should Know
- 2011/05/16 Unix shell script for removing duplicate files
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.