Create your own bash commands

I have many complex commands in bash so i have create bash commands for me on Debian…

Open your bashrc:

sudo vim /home/[username]/.bashrc

Create your alias:

alias home=’cd /home/[username]‘

alias ipconfig=’sudo ifconfig’

alias prj=’cd /home/[username]/[path to your project folder]‘

alias ls=’ls -a -l –color=auto’

That’s it… It’s very easy to create your commands… Save ur file and type:

bash

And now u have your new bash commands…

Have fun…