-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinux.html
More file actions
134 lines (94 loc) · 4.72 KB
/
linux.html
File metadata and controls
134 lines (94 loc) · 4.72 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS -->
<link rel="stylesheet" href="style.css">
<!-- FONTS -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Irish+Grover&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Potta+One&display=swap" rel="stylesheet">
<!-- LINKING PRISM FOR COE HIGHLIGHTING -->
<link rel="stylesheet" href="prismlinux.css">
<script src="prismlinux.js"></script>
<link rel="stylesheet" href="prism.css">
<script src="prism.js"></script>
<!-- TITLE -->
<title>Linux Cheatsheet</title>
</head>
<body>
<!-- NAVBAR -->
<div class="navbar">
<div class="logo"><img src="./copy.png" alt=""></div>
<div class="dropdown">
<button class="dropbtn">
Language ↓
</button>
<div class="dropdown-content">
<a href="index.html">HTML cheatsheet</a>
<a href="js.html">JS cheatsheet</a>
<a href="css.html">CSS cheatsheet</a>
<a href="linux.html">Linux Commands</a>
</div>
</div>
<div class="searchBox" onkeypress="search()">
<input type="text" placeholder="Search Here" id="searchInput" onkeydown="search()">
</div>
</div>
<div class="container">
<h1 class="category"> Linux Commands</h1>
<ol>
<!-- LIST ITEMS -->
<li>
<!-- SHIFT +TAB DABA KE code class="code" KI INDENT KO THEEK KARNA PADEGA PRISM.JS KI WAJA SE -->
<h2>ls Command
</h2>
<p class="heading-intro">Used to open all the files in the directory.</p>
<!-- code class="code" BOX -->
<pre class="language-git"><code class="code">ls</code class="code"></pre>
</li>
<li>
<!-- SHIFT +TAB DABA KE code class="code" KI INDENT KO THEEK KARNA PADEGA PRISM.JS KI WAJA SE -->
<h2>pwd Command
</h2>
<p class="heading-intro">Used to show the current working direcory(print working directory)</p>
<!-- code class="code" BOX -->
<pre class="language-git"><code class="code">pwd</code class="code"></pre>
</li>
<li>
<!-- SHIFT +TAB DABA KE code class="code" KI INDENT KO THEEK KARNA PADEGA PRISM.JS KI WAJA SE -->
<h2>man Command
</h2>
<p class="heading-intro">Shows the manual of any command available.</p>
<!-- code class="code" BOX -->
<pre class="language-ps"><code class="code">cd "pathname"</code class="code"></pre>
<p class="heading-intro">EG-This will show you all the files and folders on Desktop.</p>
<pre class="language-js"><code class="code">cd "C:\Users\Dell\Desktop"</code class="code"></pre>
</li>
<li>
<!-- SHIFT +TAB DABA KE code class="code" KI INDENT KO THEEK KARNA PADEGA PRISM.JS KI WAJA SE -->
<h2>cd Command
</h2>
<p class="heading-intro">Used to change the directory from one folder to another</p>
<!-- code class="code" BOX -->
<pre class="language-git"><code class="code">cd "pathname"</code class="code"></pre>
<p class="heading-intro">EG-This will show you all the files and folders on Desktop</p>
<pre class="language-js"><code class="code">cd "C:\Users\Dell\Desktop"</code class="code"></pre>
</li>
</ol>
</div>
<footer>
<p class="text-center">Copyright @2022 | Designed With Prism.js <a href="#">| By-Prashant Chawla</a></p>
</footer>
<!-- <script src="script.js" defer></script> defer means that the script will be executed only after the whole document has been parsed -->
<script src="script.js" ></script>
</body>
</html>