Answers for "how to run .sh file"

2

ubuntu make sh file executable

chmod +x <fileName>
sudo ./<fileName>
Posted by: Guest on August-16-2020
13

how to run shell script

chmod +x <fileName>
./fileName.  # or use ->. bash fileName
Posted by: Guest on April-25-2020
5

how to run a .sh file

./yourscript.sh
Posted by: Guest on November-14-2020
5

how to execute an sh file in linux

./file.sh
Posted by: Guest on August-01-2020
0

linux execute sh

include 
#!/bin/bash

then in terminal
chmod +x <filename>
./<filename>
Posted by: Guest on June-29-2021
0

how to run .sh file

self.returncode = subprocess. run(self.shellScriptPath, input='yes\n', text=True).returncode
Posted by: Guest on September-16-2021

Browse Popular Code Answers by Language