How would I rename a directory from within that directory?For example:~/tmp $ rn tmp2~/tmp2 $ I can do that with: cd .. && mv tmp tmp2 && cd tmp2, but not sure how to make it into one command.
Rename directory from within directory?
shell;directory;rename;cd command