Is there a one-liner that allows me to create a directory and move into it at the same time?
286
votes
13
answers
157513
views
I find myself repeating a lot of:
mkdir longtitleproject
cd longtitleproject
Is there a way of doing it in one line without repeating the directory name? I'm on bash here.
Asked by methodofaction
(3519 rep)
Mar 12, 2011, 01:15 AM
Last activity: Oct 17, 2023, 08:48 PM
Last activity: Oct 17, 2023, 08:48 PM