How to execute .sh file (raspberrypi) that is present in someother folder

Sh file name: runme.sh
Path: /home/pi-bridger/

I wanna run a .sh script that is under /home/pi-bridger/. I am able to run it inside the folder by using the command ./runme.sh. I wanna run the script from any other folder by simply calling it.

3

1 Answer

Run it as

/home/pi-bridger/runme.sh
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like