ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
how to run a .sh file
./yourscript.sh
linux execute sh
include
#!/bin/bash
then in terminal
chmod +x <filename>
./<filename>
how to run .sh file
self.returncode = subprocess. run(self.shellScriptPath, input='yes\n', text=True).returncode
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us