hallo,
I am programming under Ubuntu, using c. I would like to use shell commands, like "ls", and print the result in the stdout. Does anyone know how I can do? Thanks
But I would like to be able to use also sudo commands without the shell stopping for the password request. Is there a way to send the password as well together with the command?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.