I am working in the latest version of Ubuntu and am very new to coding and StackOverflow.
I created a simple script to echo "Hello World".
The script's name is helloworld.sh
#!/bin/sh
echo "Hello World"
I try to run it using sudo ./helloworld.sh
, but receive the following prompt:
sudo: ./helloworld.sh: command not found
What am I doing wrong here?