Find usb device

diff <(lsusb) <(sleep 3s && lsusb)
I often use it to find recently added ou removed device, or using find in /dev, or anything similar. Just run the command, plug the device, and wait to see him and only him
Sample Output
> Bus 002 Device 017: ID 0499:1039 Yamaha Corp.

By: Juluan
2010-12-27 22:46:54

2 Alternatives + Submit Alt

What Others Think

I use dmesg |tail for this
unixmonkey68259 · 417 weeks and 1 day ago
A USB device that is used for storage purposes used for different purposes as well. The blog is throwing light well on the different out puts of the two different programs and students can check best writing apps from . Such technical blogs are dealing with these kind of systems and functions to let us aware of them.
MaryKlein · 82 weeks and 4 days ago
Hi, thanks for the post and I liked it so much but I am here because I am searching for an online essay writing service and someone suggests me to try the edubiride service. BTW, I had never been a fan of coding because once I tried to learn it but didn't complete my coaching. Now I am working as an SEO analyst in a company.
ChelseaSCripe · 60 weeks and 6 days ago
I accept that going to regular classes is trying and intense for capable individuals. You can visit how to plagiarize and get away with it to get more ideas. That is the explanation I am prescribing such individuals to pick the online instruction model in the event that they have to increase some new valuable information.
anonymous11 · 55 weeks and 4 days ago
My instructive excursion has effectively finished in view of this exceptional organization "School of Saint Scholastica". Once visit active or passive sentence checker for more ideas. Magnificent educators present in the foundation have very helping nature.
anonymous11 · 55 weeks and 4 days ago
It is my fantasy to learn at the University of North Texas since it is just one organization that is offering scholastic courses in my field. Check this free passive voice checker for more ideas about writing. It is elusive a superior decision than this.
anonymous11 · 55 weeks and 4 days ago
Great post! I am actually getting ready to across this information, is very helpful my friend.
malkovich · 55 weeks and 1 day ago
The film "Playing By Heart" is exceptionally contemplative and heart coming to. Visit for more guidance. There are different interconnecting stories that are being portrayed in this film.
Ahmed74 · 47 weeks and 1 day ago
At last, I have found a strategy for shedding Error code 20031. Students should visit for more ideas. I would no uncertainty feel even more free.
Ahmed74 · 47 weeks and 1 day ago
This post is really informative. BTW, maybe everybody can also try to consider taking an organic health supplement like hemp CBD capsules. Find out more on this amazing product at
Tomdayne_001 · 44 weeks and 2 days ago
Tomdayne_001 · 44 weeks and 2 days ago
Montana is a western state defined by its diverse terrain ranging from the Rocky Mountains to the Great Plains. Its wide-open spaces include Glacier National Park, a vast wilderness preserve that passes into Canada. MaxRemind top rank medical billing company offer medical billing services in New Hampshire, home health software and medical credentialing service in USA.
stevematt · 38 weeks and 2 days ago
Thank you for this one, I have a lot of USB devices to locate from several computers. This will make my work easier.
DanCypress · 26 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? 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.


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: