If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
If you’re using the terminal on Linux or Mac, echo <password> | sudo -S <command>
.
If you’re doing this programmatically, for example in Python, os.system(f'echo {password} | sudo -S {command}')
.
For further actions, you may consider blocking this person and/or reporting abuse
Muhammad Essa -
shaanif ahmed -
ᗰṳhumuzå ₱ɨuṩ -
Saifur Rehman Khan -
Top comments (0)