project: Beginning Bash

Tags bash

To interact properly with Git, you’ll need to know a little bit about “the command line”.

The first step is to open the command line or terminal on your device:

  • If you are running Android, then open your termux app
  • If you are running Windows, then: Open your Git shell OR using linux subsystem for windows, just open your Linux terminal
  • If you are using Mac or Linux, just open your terminal

If this is the first time you’ve ever opened such a program, DON’T PANIC! You’ll get used to this thing.

Now you’ll need to learn a few basic commands to get by:

http://korflab.ucdavis.edu/bootcamp.html

Make sure you understand everything up to step 14. NB: Completing and understanding up to step 14 is essential for the successful completion of this project.

Submission Instructions

In this project, you will be submitting a link to a google document.

Please copy and paste the questions below including the question number and the full question into your google doc and answer the question on a new line below, use additional new lines and spacing to make the submission easy to read and assess.

Ensure you update the sharing permissions on your google doc to allow anyone with the link to view it.

Questions

  1. What is the purpose of the ls command?
  2. What does the command ls / output?
  3. What does the pwd command do?
  4. What command would you use to make a new directory?
  5. What command would you use to navigate into a new directory?
  6. What command would you use to navigate ‘upwards’ one level in the directory hierarchy?
  7. What command would you use to navigate upward two levels?
  8. What does the command cd home do?
  9. What is a relative path?
  10. What is an absolute path?
  11. Explain the usage of the man command?
  12. What command would you use to remove the directory git-basic-exercises? Assume that this directory is NOT empty.
  13. Explain the use of tab completion?

RAW CONTENT URL