Obviously that script is more convenient, but if you’re on a system where you don’t have it, you can do the following instead:
mkdir /some/dir
cd !$
(or cd <alt+.>) mkdir /some/dir
cd !$
(or cd <alt+.>)No comments yet.