Home · Latest · Trends  /  general
1

Active interface on Linux

rated 1 times [  1] [ 0]  / comments: 0 / hits: 42  / 3 weeks ago, mon, oct 29, 2018, 11:32:44
Identify the active interface on Linux
ip -4 route ls | grep default | grep -Po '(?<=dev )(S+)'
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
vishymac

vishymac

Member since Feb 23, 2017
Total Code Snippets: 6
Total Comments: 0
Location: Philadelphia
Following
User not following anyone yet.
vishymac snippets
1 year ago, fri, jul 21, 2017
1 year ago, fri, jul 21, 2017
10 months ago, mon, feb 19, 2018