To regsiter a script as command:
- Create a function in shell script file example.sh
function command() { }
-
Make the file executable chmod +x example.sh
-
Source the file to have access to command source example.sh
-
Add the source command into ~/.bashrc to make it accessible in any bash shell
-
Now, we can use command in any bash terminal
command xxx
- Source the file
source bootidea.sh
- Unzip the spring boot project and launch it in intellij idea. Also it deletes the zip file after unzip.
uao
- editor.html Try it here: https://omkar-shetkar.github.io/scripts/editor.html