samedi 18 avril 2015

how to write a program to scan for the connected USB and show them in terminal

I was just wondering that if this possible to write a program in c in linux to scan for the usb connected to the system and show them in terminal.


I have a good hand in shell scripting but dont know how to this in C program. In shell scripting, we can use echo command to do many functions but what is the replacement of echo in C language.


Any guide or a sample code will help, thanks.!


Aucun commentaire:

Enregistrer un commentaire