Archive for February, 2010
How to get (just the) IP Address on a unix machine
[sourcecode language=”bash”]
ifconfig | grep “Bcast:” | cut -d':’ -f2 | cut -d’B’ -f1
[/sourcecode]
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /hermes/bosnacweb04/bosnacweb04ae/b2501/ipg.parminderscom/apps/blog/wp-content/plugins/jetpack/jetpack.php on line 246
[sourcecode language=”bash”]
ifconfig | grep “Bcast:” | cut -d':’ -f2 | cut -d’B’ -f1
[/sourcecode]