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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!