How To Execute a Bash Script Without ./

Published: 27 October 2022
on channel: The Builder
7,157
95

Since Bash looks in the default locations for commands to execute at the CLI, we need to add the "./" proceeding the command. To omit this we have to modify the $PATH variable and append the current directory to the list of known paths Bash will look for commands in. Its not recommended to do this on most systems since it can result in commands being accidentally executed or even shadowing standard commands with ones in the current directory if the current directory shows up first in the $PATH variable

==== Awesome Links ====
🗣 Discord:   / discord  
✍️ Github: https://github.com/TheBuilder-software
💎 Patreon:   / topshelftechnology  


On this page of the site you can watch the video online How To Execute a Bash Script Without ./ with a duration of hours minute second in good quality, which was uploaded by the user The Builder 27 October 2022, share the link with friends and acquaintances, this video has already been watched 7,157 times on youtube and it was liked by 95 viewers. Enjoy your viewing!