• Contact
  • Gallery
  • Monitoring
    • Dietpi
    • House
    • Mining
    • PiInTheSky
    • Server
    • Who’s Home?
  • Scripts
    • PiPress
  • Speedtest
Menu

Bash Scripting

Get interface name of ip address using bash

April 2, 2015 No Comments

The following command will return the interface name of a particular ip address (x).

ip addr show | grep xxx.xxx.xxx.xxx | cut -f2 | awk '{ print $7 }' | head

Continue Reading

Who's Online

6 visitors online now
6 guests, 0 members
Map of Visitors
April 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Mar   May »

Recent Posts

  • (no title)
  • (no title)
  • (no title)
  • (no title)
  • (no title)

Categories

  • Bash Scripting
  • Computing
  • Film/Tv
  • Linux
  • Media
  • Mining
  • Motoring
  • NSLU2
  • On The Move
  • Openwrt
  • Prepping
  • Private
  • Raspberry Pi
  • Techy
  • Uncategorized
  • Contact
  • Gallery
  • Monitoring
  • Scripts
  • Speedtest

Theme by CSSIgniter | Proudly powered by WordPress