Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jmmcd
· 6y ago · 0 comments
Wait, what does mkcd do?
Comments
[–]
Joker_vD
6y ago
function mkcd() { mkdir -p -- "$1" && cd -P -- "$1" }
[–]
zimbu668
6y ago
I'm guessing makes a directory, with paths, then cds into it.
[–]
twanvl
6y ago
I assume `mkdir $@ && cd $@`