Click here to Skip to main content
15,796,456 members
Home / Discussions / Linux Programming
   

Linux Programming

 
Questionhow to use "whereis" recursively ? Pin
Salvatore Terress28-Nov-23 10:17
Salvatore Terress28-Nov-23 10:17 
AnswerRe: how to use "whereis" recursively ? Pin
Richard MacCutchan28-Nov-23 22:59
mveRichard MacCutchan28-Nov-23 22:59 
AnswerRe: how to use "whereis" recursively ? Pin
jschell29-Nov-23 6:01
jschell29-Nov-23 6:01 
AnswerRe: how to use "whereis" recursively ? Pin
k505429-Nov-23 7:36
mvek505429-Nov-23 7:36 
QuestionAcademic question - what is basic Bluetooth Linux access ? Pin
Salvatore Terress7-Nov-23 4:48
Salvatore Terress7-Nov-23 4:48 
AnswerRe: Academic question - what is basic Bluetooth Linux access ? Pin
Richard MacCutchan7-Nov-23 5:03
mveRichard MacCutchan7-Nov-23 5:03 
QuestionHow to verify Bluetooth? Pin
Salvatore Terress2-Nov-23 16:15
Salvatore Terress2-Nov-23 16:15 
AnswerRe: How to verify Bluetooth? Pin
Richard MacCutchan3-Nov-23 2:52
mveRichard MacCutchan3-Nov-23 2:52 
AnswerRe: How to verify Bluetooth? Pin
jschell3-Nov-23 5:44
jschell3-Nov-23 5:44 
AnswerRe: How to verify Bluetooth? Pin
Salvatore Terress7-Nov-23 4:31
Salvatore Terress7-Nov-23 4:31 
GeneralRe: How to verify Bluetooth? Pin
Salvatore Terress7-Nov-23 10:13
Salvatore Terress7-Nov-23 10:13 
AnswerRe: How to verify Bluetooth? Pin
k50547-Nov-23 11:00
mvek50547-Nov-23 11:00 
QuestionMessage Closed Pin
Jeremy Falcon13-Oct-23 8:59
professionalJeremy Falcon13-Oct-23 8:59 
AnswerRe: Message Closed Pin
RedDk14-Nov-23 8:39
RedDk14-Nov-23 8:39 
GeneralRe: Message Closed Pin
Jeremy Falcon15-Nov-23 4:42
professionalJeremy Falcon15-Nov-23 4:42 
QuestionMessage Closed Pin
4-May-23 3:56
Member 149687714-May-23 3:56 
AnswerRe: How to "provide password " ? Pin
jschell2-May-23 12:04
jschell2-May-23 12:04 
GeneralMessage Closed Pin
2-May-23 13:47
Member 149687712-May-23 13:47 
GeneralRe: How to "provide password " ? Pin
jschell3-May-23 10:46
jschell3-May-23 10:46 
AnswerRe: How to "provide password " ? Pin
Richard MacCutchan2-May-23 23:14
mveRichard MacCutchan2-May-23 23:14 
AnswerRe: How to "provide password " ? Pin
Graham Breach3-May-23 0:38
Graham Breach3-May-23 0:38 
AnswerRe: How to "provide password " ? Pin
k50543-May-23 7:33
mvek50543-May-23 7:33 
Rather than system() take a look at popen() popen(3): pipe stream to/from process - Linux man page

But before you do that, you should stop and think about whatever it is you think you need to sudo. As a general rule user level programs should not need to elevate privilege to perform work. That's a security hole waiting to be exploited. If you need to create a device file, load a kernel module or change permissions on a device file, that should be handled by the OS at boot time or device initialization time (eg a USB device being plugged in). Using sudo is almost certainly the Wrong Thing, and should only be considered when all other options have been exhausted.
Keep Calm and Carry On

GeneralMessage Closed Pin
3-May-23 8:22
Member 149687713-May-23 8:22 
GeneralRe: How to "provide password " ? Pin
k50543-May-23 9:06
mvek50543-May-23 9:06 
GeneralRe: How to "provide password " ? Pin
jschell3-May-23 10:44
jschell3-May-23 10:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.