How to create bash script
https://linuxhint.com/30_bash_script_examples/
Create bash script file
touch file.shFill the file
#!/bin/bash
echo "Hello World"Execute script
bash file.shor
chmod a+x file.sh
$ ./file.shLast updated
Was this helpful?
https://linuxhint.com/30_bash_script_examples/
Create bash script file
touch file.shFill the file
#!/bin/bash
echo "Hello World"Execute script
bash file.shor
chmod a+x file.sh
$ ./file.shLast updated
Was this helpful?