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 · 361 weeks and 4 days 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 · 27 weeks 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 · 5 weeks and 2 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 · 15 hours 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 · 14 hours 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 · 14 hours 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: