Show current network interface in use

ip addr | awk '/state UP/ {print $2}' | sed 's/.$//'

1
By: wuziduzi
2021-05-17 16:05:35

What Others Think

What do you think about these commands. Do you have any ideas about this one. If so please share it with us. So that it will be very helpful for us to know about the commands they have shared for us. Continue Reading
zaiyamariya · 4 weeks ago
The ip command provides a lot of information on network interfaces. electric mini bike
noahwatson1988 · 3 weeks and 6 days ago
Extensive knowledge, a few years of practice, thousands of successfully completed transactions determine the standard of services provided by our land office in Kielce. biuro nieruchomosci
sarahjames · 3 weeks and 5 days ago
Great work on this commands, if you need any concrete company. Just visit Concrete walkway
mary1998 · 3 weeks and 5 days ago
I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one. Kabosucash
Bergnaum · 3 weeks and 4 days ago
I have just recently used this command, the details you provide on this site has helped me significantly... wall mounted stags head
muneerahmed · 3 weeks and 4 days ago
I am glad to be here and read your very interesting article, it was very informative and helpful information for me. keep it up. buy 10k instagram followers cheap
johnhelrii · 3 weeks and 3 days ago
"In the spring, my brother and his wife and I go to my parents, they live in another city in a very old house, upon arrival we noticed various parasites from which we were amazed, parents say that they constantly appear in spring and summer, my brother and I know what to do, decided to try out the pest control software that we used in a similar situation, everything was very quickly finished quickly with the pests and everyone was happy. "
JeromeKharley · 3 weeks and 2 days ago
You can use free software to help set up your website. Investing in powerful software packages like Photoshop is only worth it if you think it will pay off in the end. Instead, shop around for a free product that has the tools you need
anusharehan · 3 weeks and 2 days ago
If you have a newer model phone, you probably do not have to waste your money on a fancy case for it. Today's mobile phones are made of durable materials that can handle being bumped and dropped. You really only need case for an attractive look Outbound call center services, not to keep your phone safe.
anusharehan · 3 weeks and 2 days ago
It will also check for any recently introduced new services or discounts that are finding enhanced interest among the customers. salesforce training in noida
kenwood · 2 weeks ago
the mattress is the most important factor in the overall comfort of your home. truck mattress
kenwood · 1 week and 5 days ago
Get an obligation FREE quote from our SEO consultants, call today. We have offices in Melbourne & Sydney. We are an SEO company specializing in Search Engine Optimisation, AdWords, Web Design, and Retargeting. Get in touch with us if you think we can help you with your. Brisbane escorts
Roberti · 1 week and 4 days ago
They come with contemporary designs and shapes and can be ordered in bulk for specified purposes as well. They can be ordered online in bulk quantities according to the requirement. In most cases embroidered patches are used as company logos or institutional logos. visit this site
kenwood · 1 week and 3 days ago
I am impress of what i`ve seen here. Completely defined, keep it up all the time. ??????????????????
McauleyHanna · 1 week and 1 day ago
I appreciate you sharing your thoughts. ?????????????? ??????
McauleyHanna · 1 week and 1 day ago
It has been a pleasure for certain! ???????? ?? ???? 2020
McauleyHanna · 2 days ago
Cool post. Thanks for posting such great content. If you are interested in camping with your family, visit my site and plan your trip. The best thing families can do is plan a camping trip. For starters, a great way to stay in touch with nature and experience the state parks and campgrounds is to enjoy the outdoors. Whether it’s a mountain, a lake, or a campground, enjoying the view with your whole family can be very memorable. Visit us here : 7 Family Camping Activities in 2021
AddieHolt · 1 day 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: