Because, I shared files but I don't remember how many person.
Look in your logfiles, new entries are added to
You can open
I assume you mean you want to know how many times a flash drive was installed in a usb port on a particular computer.
Start a terminal with Alt+Ctrl+T and run:
Now insert your thumb drive. You should see a line display like:
Aug 12 11:44:05 gruber-precise-laptop kernel: [ 1386.413812] scsi 8:0:0:0: Direct-Access TOSHIBA TransMemory PMAP PQ: 0 ANSI: 0 CCS
Now you can cancel the
and see all the times the flash drive was installed recently.
You can pick something else in the string as well:
but this will pick up things like your disk drive and any card readers at boot time, so you will have to look at the name to tell which is which.
finds the discovery of all direct access devices, eliminates the ones that I get at boot (and maybe wake up) for my hard disk and multicard reader, and counts them.
On my system sudo isn't necessary for any of these commands.