In this quiz, I removed the nighthawk directory from the home directory, then recreated it, launching my own blog again in vscode.
Deleting the directory
I deleted the repository by running the rm -rf nighthawk/ in terminal:
Now we can see that the nighthawk directory doesn't exist anymore. This is because the rm command is short for remove, removing the directory.
Making a new directory
Now we can make a new directory using the following commands in the terminal:
mkdir nighthawk
cd nighthawk
Then I cloned my personal CSP blog using these commands and opened it in VSCode for editing:
Now we can see the nighthawk directory exists now:
Now I have my personal blog up in VSCode, where I can make changes and push them to Git Hub. I can also make changes on a live server using the make command. Below is an example of a change in comfig.yml file of my blog, changing the blog title from Derek to Derek Kang.
Remember Forever Quiz
In this quiz, I removed the nighthawk directory from the home directory, then recreated it, launching my own blog again in vscode.
Deleting the directory
I deleted the repository by running the
rm -rf nighthawk/
in terminal: Now we can see that the nighthawk directory doesn't exist anymore. This is because the rm command is short for remove, removing the directory.Making a new directory
Now we can make a new directory using the following commands in the terminal:
Then I cloned my personal CSP blog using these commands and opened it in VSCode for editing:
Now we can see the nighthawk directory exists now:
Now I have my personal blog up in VSCode, where I can make changes and push them to Git Hub. I can also make changes on a live server using the make command. Below is an example of a change in comfig.yml file of my blog, changing the blog title from Derek to Derek Kang.