I've sub folders named 1 to 1000 under some path, lets say /path/to/mydir. So I want to create custom alias so some approach such that when I enter 105 then it should take me to /path/to/mydir/105. behind the screen i need to execute
cd /path/to/mydir/105 command.
what changes should i need to do on .bashrc to do this?
Can someone help me on this?