Something similar to this Q&A, I know that cd
will change current working directory in terminal to a new directory like this:
cd /path/to/new_directory
But I wonder how can I change current working directory only by typing for example:
/path/to/new_directory
followed by Enter, of course. Nothing more.