Add a script "as a programme"
Add your script "as programme" to GitBash to use them more conveniently
Create the script
Create the script in nano or notepad and save it (extension does not matter)
The first line must be #!/bin/bash to make it executed by bash.

Copy into `/usr/bin/` folder
locate your /usr/bin/ folder on windows

/usr/bin/ folder Copy as administrator

See its copied

hello_world is in the /usr/bin/Restart bash

Open GitBash wherever you want

Check `hello_world` is in /usr/bin/ "as a programme"

hello_world existsRun the file
Start typing `hello` and use Tab completion


Script runs

Last updated