| | | | | linguist.page@gmail.com
Type here
echo "Hello World"

Read a line of user input in a script

Type here
read varname

Check if a file exists in a script

Type here
test -f filename

Check if a directory exists in a script

Type here
test -d foldername

Make a script executable

Type here
chmod +x script.sh

Run a shell script

Type here
./script.sh