forked from mottaquikarim/PCNWLab-Command-Line
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpset2.js
More file actions
69 lines (58 loc) · 1.64 KB
/
Copy pathpset2.js
File metadata and controls
69 lines (58 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/******************
PROBLEM 1:
In this problem, you will be downloading some files from online, then creating a custom project with git initialized. You will then one by one structure the files and make commits to git as needed.
1. Download this repository from the homepage by clicking "Clone or download", then "Download ZIP". You will be using the files from the /stuff directory.
2. Once the repository has been downloaded, go ahead and unzip it.
3. Achieve the following structure ONLY using command line:
//Downloaded zip
//Unziped PCNWLab-Command-Line-master.zip
cd Downloads
mv PCNWLab-Command-Line-master ../Desktop/
cd ..
cd Desktop
cd PCNWLab-Command-Line-master/
mv stuff pset2
mkdir assets
cd assets
mkdir images
mkdir memes
mkdir src
mv amazon.jpg assets/
mv hello.html assets/
mv twitter.png assets/
mv meme.jpg assets/
mv google.jpg assets/
mv app.js assets/
mv foo.js assets/
mv facebook.png assets/
cd assets
mv twitter.png images/
mv facebook.png images/
mv google.jpg images/
mv amazon.jpg images/
mv meme.jpg memes/
code .
//changed "SOME_CLASS" to "Full Stack: Nights & Weekends". Saved it.
~/Desktop/pset2
/assets
/images
amazon.jpg
facebook.png
google.jpg
twitter.png
/memes
meme.jpg
/src
foo.js
app.js
hello.html
4. Open `hello.html` using a code editor and change "SOME_CLASS" to "Full Stack: Nights & Weekends". Save it.
5. You should have the following commits:
- git initialized
- added app.js
- added hello.html
- created assets directory
- added all images & memes
- added all sources
- modified hello file
******************/