forked from mottaquikarim/PCNWLab-Command-Line
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpset1.js
More file actions
41 lines (28 loc) · 1007 Bytes
/
Copy pathpset1.js
File metadata and controls
41 lines (28 loc) · 1007 Bytes
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
/******************
PROBLEM 1:
Follow the following steps ONLY using your command line:
1. Navigate to your Desktop directory.
2. Create a directory called my_first_direc.
3. Enter the my_first_direc directory.
4. Create a file called first.js.
5. Create a folder called assignments.
6. Move first.js into assignments.
7. Go into the assignments folder.
8. Delete first.js.
9. Go up to the my_first_direc directory.
10. Delete the assignments folder.
11. Go up to the Desktop directory.
12. Delete the test folder.
******************/
/******************
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, (Atom/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, (Atom/VSCode)
8. Add the following in a new line: hellohellohello
9. Exit without saving
******************/