derekkang1 / DerekCSP

Apache License 2.0
0 stars 0 forks source link

Remember Forever Quiz 8/27/24 #1

Open derekkang1 opened 3 weeks ago

derekkang1 commented 3 weeks ago

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: image 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:

git clone https://github.com/derekkang1/DerekCSP.git

code DerekCSP

Now we can see the nighthawk directory exists now: image

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. image unnamed