python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Ubuntu pass Password containing '"' to sudo
I am trying to pass the password that contains " character as part of my password in a bash script to sudo -S su. I am running the bash script but I get prompt as bash error: line1 EOF as end to ...
Rahul Yadav
Votes: 0
Answers: 1
subprocess not working properly for this sudo /etc/init.d/windscribe-cli start
Running without any error. But not starting the process... :(
windscribe = subprocess.Popen(["echo", "<my pc password>", "|", "sudo", "/etc/init....
Muhammad Anas
Votes: 0
Answers: 1
Execute sudo command from swift
I am writing a sandboxed MacOS app in swift and I need to run a few command line commands. For most of the commands this isn't an issue. There's plenty of examples of how to execute that type of comma...
cHorse1981
Votes: 0
Answers: 0