I am making a dialog menu for an Ubuntu VPN that is calling up other scripts like this:
cd
cd myrepo/gui
./filetocall.sh
The first cd
is to ensure the directory for the second cd
is always home.
Is there a better method I can use to address this in one line? (Without specifically naming the user in the path, so it can be installed and used on a few devices?)
cd || fail
!