Network Interfaces

awk '{print $1}' /proc/net/dev|grep :|sed "s/:.*//g"
Linux only
Sample Output
lo
eth0

0
By: kro
2012-08-17 13:36:47

3 Alternatives + Submit Alt

What Others Think

CommandlineFU is a very good website with useful information. As u know technology has advanced a long way around but I can check top essay writing services and we now use softwares that was not present in the past. So, these new innovations should be welcomed.
MaryKlein · 30 weeks and 6 days ago
Our prior goal is to surpass all the expectations of our client by providing outstanding customer support service, greater value and increased flexibility which in results optimize system functionality and improve operation efficiency. hospital management system and Construction erp software and erp for manufacturing in india
delhis · 23 weeks and 6 days ago
We are best Professional SEO, Digital Marketing, Web Designing and Web Development Company in Bangalore. top seo agency in bangalore and best digital marketing company in bangalore and PPC services in bangalore and seo expert in bangalore
delhis · 21 weeks and 2 days ago
You perceive what Progressive Electric Music has reliably remained my favored one. I often visit this article for more details. I am checking out the tunes of this sort for a long time.
anonymous00 · 5 weeks and 1 day ago
Religion is the essential worry behind each certified useful thing happening on the planet. I often visit free passive voice checker to read more details. We should endeavor to follow the certifiable exercises of our important religion.
anonymous00 · 5 weeks and 1 day ago
I am very amped up for your idea of making a story where you would show the fights and issues of neighborhood singers. I often visit comma checker to read more details. I really love your idea.
anonymous00 · 5 weeks and 1 day ago
Central and Straightforward in all actuality getting understudy credit from any open bank is basically crucial. All things considered, an understudy must make a good undertaking for restoring the taken cash. I often visit http://www.copychecker.net/copy-and-paste-plagiarism-checker/ for more ideas. Else, he may pay superfluously.
Ahmed74 · 1 week and 3 days ago
We grasp that teenagers learn in different propensities whether sensation, visual, or hear-capable understudies so every kid changes regardless much as could sensibly be conventional. Once visit http://www.correctmysentence.com/edit-my-sentence-for-me/ for more details. Such a system should be chosen that could turn best for them.
Ahmed74 · 1 week and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: