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 · 11 weeks and 1 day ago
The ip command provides a lot of information on network interfaces. electric mini bike
noahwatson1988 · 11 weeks 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 · 10 weeks and 6 days ago
Great work on this commands, if you need any concrete company. Just visit Concrete walkway
mary1998 · 10 weeks and 6 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 · 10 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 · 10 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 · 10 weeks and 4 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 · 10 weeks and 3 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 · 10 weeks and 3 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 · 10 weeks and 3 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 · 9 weeks and 1 day ago
the mattress is the most important factor in the overall comfort of your home. truck mattress
kenwood · 8 weeks 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 · 8 weeks and 5 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 · 8 weeks and 3 days ago
I am impress of what i`ve seen here. Completely defined, keep it up all the time. ??????????????????
McauleyHanna · 8 weeks and 1 day ago
I appreciate you sharing your thoughts. ?????????????? ??????
McauleyHanna · 8 weeks and 1 day ago
It has been a pleasure for certain! ???????? ?? ???? 2020
McauleyHanna · 7 weeks and 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 · 7 weeks and 2 days ago
Thank you for posting such a great article! I found your website perfect for my needs. It contains wonderful and helpful posts. Keep up the good work!. Thank you for this wonderful Article! For Window Tinting Mobile window tinting fort lauderdale
rgrbl4ck44 · 6 weeks and 5 days ago
I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject? Unbiased Resurge reviews
seomind · 6 weeks and 3 days ago
I really enjoy reading and also appreciate your work. Instagram Captions
seomind · 6 weeks and 3 days ago
Your work is very good and I appreciate you and hopping for some more informative posts Doodly
seomind · 6 weeks and 3 days ago
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Make Him Worship You
seomind · 6 weeks and 3 days ago
I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject? Soulmate Drawing Review
seomind · 6 weeks and 3 days ago
I see some amazingly important and kept up to length of your strength searching for in your on the site Soulmate Drawing
seomind · 6 weeks and 3 days ago
Thank you for sharing this informative article with us. I got lots of information from this website. Keep sharing more article like this.
paulvijaylal · 5 weeks and 1 day ago
thank you for sharing with us mx player
sunil808 · 5 weeks ago
thank you mx player
paulvijaylal · 5 weeks ago
Glad to see this post, I like the content of this forum. [url=https://darwinpainting.com.au/exterior-commercial-painting/]https://darwinpainting.com.au/exterior-commercial-painting/[/url]
aris · 4 weeks and 1 day ago
I was very encouraged to find this site. The reason being that this is such an informative post. Thanks for sharing! https://darwinpainting.com.au/exterior-commercial-painting/=
aris · 4 weeks and 1 day ago
Thanks for this great blog of yours. I am amazed of what you've share. This is so informative. Keep sharing with us. hydrographic surveying services
johnlead · 3 weeks and 6 days ago
Thanks for this great blog of yours. I am amazed of what you've share. This is so informative. Keep sharing with us. pre purchase building inspection
johnlead · 3 weeks and 6 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: