Question: Write a bash function in your .bashrc called mkcd that takes in one parameter foo, makes a new directory called foo and then cds into
Write a bash function in your .bashrc called "mkcd" that takes in one parameter foo, makes a new directory called foo and then cds into it. Don't forget to source your changes! Copy and paste that function here (Don't worry about spaces/indents).
Write a function in your .bashrc called "to" that takes in one parameter bar, makes a new file called bar and then opens it in Cloud9. Don't forget to source your changes! Copy and paste that function here (don't worry about spaces/indents).
Navigate to `~/environment/lect3/`. Run the following command: mkcd hw3
What does it output (if anything)?
Note: If you don't have that lect3 directory, just make one :)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
