forked from joinpursuit/Command-Line-Lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblems-1.js
More file actions
43 lines (30 loc) · 1.24 KB
/
Copy pathproblems-1.js
File metadata and controls
43 lines (30 loc) · 1.24 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
/******************
PROBLEM 1:
Follow the following steps ONLY using your command line:
1. Navigate to your Home (~) directory.
2. Create a directory called pursuit.
3. Enter the pursuit directory.
4. Create 4 folders: labs, projects, notes, sandbox
5. Create a file called notes.md
6. Move notes.md into /notes.
7. Without moving into the projects folder, create a file called snowman-test.js in it
8. Navigate into the sandbox folder
9. Create a file called hello.html
10. Without changing directories, delete the snowman-test.js file inside of projects
11. Copy the hello.html file in the same directory, name the copy goodbye.html
12. Rename goodbye.html to ciao.html
13. Navigate to your home directory again
14. From your home directory, delete hello.html and ciao.html inside of sandbox
******************/
/******************
PROBLEM 2:
Follow the following steps ONLY using your command line:
1. Navigate to the inside of your Documents folder
3. Create a file called foo.js
4. Open the file with a text editor (VSCode)
5. Add the following text to the file: console.log('hello')
6. Save and exit the file
7. Open the file again with a text editor (VSCode)
8. Add the following in a new line: hellohellohello
9. Exit without saving
******************/