Category "sudo"

How to sudo on powershell on Windows

Whenever I need to run a powershell script it complains of security, if I add powershell.exe -nologo -executionpolicy bypass -File .\install.ps1 I still get per

Terminate sudo python script when the terminal closes

How can I tell if the terminal running my python script was closed? I want to safely end my python script if the user closes the terminal. I can catch SIGHUP wi

"sudo: gcloud: command not found" when running Google Cloud SDK

Running Ubuntu. Installed Google Cloud SDK via: $ sudo curl https://sdk.cloud.google.com | sudo bash $ exec -l $SHELL Running "gcloud" works just fine. R