Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i need to develop a tool in c which will detection& and removing of the usb include accessing time of the users . so anyone will copied or use my machine that need to show like demon process

share|improve this question
2  
So....what's the question? –  Eliah Kagan Dec 27 '12 at 18:54
add comment

closed as not a real question by Eliah Kagan, Ringtail, RolandiXor, gertvdijk, fossfreedom Dec 28 '12 at 9:44

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

You can execute lsusb command in a loop and check the results. You can do this with a simple bash script.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.