-
Notifications
You must be signed in to change notification settings - Fork 1
/
page1.html
60 lines (46 loc) · 2.2 KB
/
page1.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>What is the Command Line?</title>
<link rel="stylesheet" href="styles.css" />
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://unpkg.com/jquery.terminal/js/jquery.terminal.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/jquery.terminal/css/jquery.terminal.min.css"/>
</head>
<body>
<div class="typewriter">
<h1>> More Commands to Learn</h1>
</div>
<h2>Congratulations, you made it! </h2>
<p>You've succesfully used the three basic navigation commands to get to another page. Now, we're going to learn how to manipulate files in the directory. </p>
<h2>Directory Manipulation </h2>
<p>Here are a few more commands that you'll likely encounter pretty often while using the terminal. These are similar to cd
because they need you to specify a target path or destination: </p>
<ul>
<li>mkdir x - creates a new directory x within the one you are currently in</li>
<li>rmdir y - remove the specificied directory y, but only if y is empty</li>
</ul>
<h2>File Manipulation </h2>
<p>Apart from manipulating directories, you might also need to work with files: </p>
<ul>
<li>touch x - creates a new emtpy file inside the current directory called x</li>
<li>rm y - deletes the specificied file y</li>
<rmdir> </rmdir>
</ul>
<h2>Try it out!</h2>
<p>Make a new empty directory and file (name them whatever you'd like) and then remove both!</p>
<div id="terminal">
<script src="script.js"></script>
</div>
<h2>Next steps</h2>
<p>If you'd like to learn more, Mozilla's <a href="https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Command_line"> MDN Web Docs</a> has a great, in-depth guide. </p>
<br> <br>
</body>
<footer>
<hr>
<h4>Made by Narit Trikasemsak and Derek Hessinger for HackHolyoke 2022. </h4>
<a href="https://github.com/narittt/CLI-Simplified">Github Repository</a>
<p>Special thanks to Jakub T. Jankiewicz, who created <a href="https://terminal.jcubic.pl">jQuery Terminal</a></p>
</footer>
</html>