Answer the question
In order to leave comments, you need to log in
What is the correct way to use variables in the terminal?
Good afternoon!
How to write a command so that when creating an arbitrary folder, the next step is to go to it?
what to fix in this code?mkdir {$s} && cd {$s}
Answer the question
In order to leave comments, you need to log in
In .bashrc
mkcd() {
mkdir $1
cd $1
}
~> mkcd foobar
~/foobar>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question