-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 2.32 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>This is a test page, I think.</title>
<link rel="stylesheet" href="main.css">
<script src="main.js"></script>
</head>
<body>
<h1># Making a folder and a README file in Linux.</h1>
<p>> mkdir Project</p>
<p class="comment"># mkdir creates a folder. Its first argument gives the folder a name, and is required.</p>
<p class="comment" onclick="Continue(this); return false;"># Click anywhere on this comment to continue.</p>
<div id="0" class="hidden">
<p>> cd Project</p>
<p class="comment"># cd stands for "change directory". Folders are generally equivalents of directories. The first argument is the directory that it changes to. To change the directory to a parent, use "..". If you want to describe the children folder of the folder to go to, use /'s (e.g. cd folder/childfolder). </p>
<p class="comment" onclick="Continue(this); return false;"># Click anywhere on this comment to continue.</p>
</div>
<div id="1" class="hidden">
<p>> touch README.txt</p>
<p class="comment"># The touch command creates a file. Its argument determines the name and the filetype of the resulting file.</p>
<p class="comment" onclick="Continue(this); return false;"># Click anywhere on this comment to continue.</p>
</div>
<div id="2" class="hidden">
<p>> echo "This is a readme file." >> README.txt</p>
<p class="comment"># The echo command writes the first argument into something. It usually writes into the terminal. However, if arrows are used, it will write down the first argument into the file the arrows are pointing to. If the file referred to by the arrows doesn't exist, then it will be made with the first argument written into it.</p>
<p class="comment" onclick="Continue(this); return false;"># Click anywhere on this comment to continue.</p>
</div>
<div id="3" class="hidden">
<p>> cat README.md</p>
<p class="return">This is a readme file.</p>
<p class="comment"># cat writes the contents of the file referred to in the first argument right into the terminal.</p>
<p class="comment"># This concludes our first tutorial. This will be updated later when the next tutorial is up or when revisions have to be made to the comments. Thank you.</p>
</div>
</body>
</html>