Carry out all of the following tasks using only the command line! As is usually the case, you're welcome to use any resource you can find (except another student, of course) to reach your answer.
Complete each of following steps, in order :
-
Create a new directory called
quiz
inside the root directory of this repository (cli-08-assessment
). -
Create a new file inside
quiz
calledrhyme.txt
. -
Open
rhyme.txt
using Sublime (via the terminal) and add the following text:
"The rain in Spain falls mainly in the plain."
Once you've done this, save the file and quit.
-
Make a directory inside
quiz
calledtemp
. Inside it, create a new blank file calledtemp.md
. -
Navigate back up to
quiz
, and delete thetemp
directory (withtemp.md
inside of it). Usels
to show the contents ofquiz
- wastemp
deleted?
Open up this file in your text editor, and write your answers below (where indicated).
- Is
/Users/blah_blah/Desktop
a relative path or an absolute path? How do you know?
- Suppose that we're working on a project, and we want to use a font that's being hosted somewhere on the internet. Would we use an absolute or relative path to refer to it? Why?
- Now suppose that we have an image file living inside our project. Would we refer to it with an absolute or relative path? Why?
You're done! Refer back to README.md.