Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 912 Bytes

File metadata and controls

29 lines (19 loc) · 912 Bytes

Exercise 1: Navigation

This exercise is an introduction to terminal command. An example solution is in the solution folder.

Try to achieve the following tasks. When done, write the command you used in this file underneath the particular question.

  1. Open your terminal (command prompt), either gitbash on windows or terminal on mac. okkkkkkkkkkkkkkkkkkkkkkkkkk!

  2. Which directory are you in? Find it out! Hint: pwd

  3. Navigate to your "Documents" directory (or wherever else you keep your stuff). Hint: cd

  4. Print out the working directory--are you in the correct place?

  5. List the files there. Do you see the same files and in the file explorer? Hint: ls

  6. Navigate back to the home folder. Use the dedicated shortcut for home folder. Hint ~.

  7. Commit and push your changes.

  8. Check the file on github--do you see your edits there?

Congrats! You are done!