Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: egrep

22 Dec

Find Current IP Address

Find the IP address of all the active interfaces.


ifconfig | egrep -o '^[a-z0-9]{1,12}|inet addr:[0-9.]+'
admin Posted in Command Line, Linux address, command, egrep, eth, ifconfig, interface, ip, Linux, network Leave a comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑