How do i create a shortcut command in Putty to go to a path? e.g. i am lazy to type in a long path to acccess into the Error folder. I want to just type in “Error” in the putty and it will link me to the folder.
I have seen someone do that. Please advice
You can just alias “Error” to “cd /path/to/your/Error” in your ~/.bashrc
Something like this:
And after a re-login or
source ~/.bashrcyou will be able to use it.