shell - How do I notify a user if a pen drive is connected in a bash script? -


i writing interactive script copy files pen drive hard drive , vice versa. (i have written script take care of this). stuck @ part, how notify user if pen drive connected/disconnected in bash script? after detection of usb drive leave user run script further or not. tried "udevadm monitor" throws device specific events. seems need find way build on it.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -