1. create new file named mycmd, and content is:
#!/bin/sh
ls -al
2. chmod a+w mycmd
3. mv mycmd /usr/bin
4. add following code into .bashrc:
alias mycmd="/usr/bin/mycmd"
5. source .bashrc
6. run: mycmd, to test new customed commd.
Note: This is just a demo to show how to do such thing, we can custom more powerful and often used command to emprove our work efficiency.