Skip to content

Commit a3385dc

Browse files
committed
Polishing
1 parent 6a51b85 commit a3385dc

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

Slide/basiclinuxcommands.html

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>
135135
<li>-h list file sizes in human readable format</li>
136136
<li>-r reverse the order</li>
137137
</ul>
138-
<p>Type man ls for more options</p>
138+
<p>Type <code><font color="green">man ls</font></code> for more options</p>
139139
</section>
140140
<section>
141141
<h3>Options can be combined:</h3>
@@ -145,15 +145,18 @@ <h3>Options can be combined:</h3>
145145
<p>List files by time in reverse order with long listing</p>
146146
</section>
147147
<section>
148-
<h2>General Syntax: *</h2>
149-
<p>“*” can be used as a wildcard in Unix/Linux</p>
148+
<h2>Wildcards</h2>
149+
<p>
150+
General Syntax: <code><font color="green">*</font></code>
151+
</p>
152+
<p><code><font color="green">*</font></code> can be used as a wildcard in Unix/Linux</p>
150153
</section>
151154
<section>
152155
<h2>
153156
mkdir
154157
</h2>
155158
<p>
156-
To create a new directory use mkdir
159+
To create a new directory, use the mkdir command
157160
</p>
158161
<p>
159162
Syntax: <code><font color="green">mkdir</font><font color="yellow"> &lt;dirname&gt;</font></code>
@@ -164,7 +167,7 @@ <h2>
164167
rmdir
165168
</h2>
166169
<p>
167-
To remove and empty directory use rmdir
170+
To remove an empty directory, use "rmdir".
168171
</p>
169172
<p>
170173
Syntax: <code><font color="green">rmdir</font><font color="yellow"> &lt;dirname&gt;</font></code>
@@ -244,9 +247,14 @@ <h2>
244247
Syntax: <code><font color="green">tail</font><font color="yellow"> &lt;filename&gt;</font></code>
245248
</p>
246249
</section>
250+
<section>
251+
<h1>
252+
File Commands
253+
</h1>
254+
</section>
247255
<section>
248256
<h2>
249-
File Commands
257+
Common File Commands
250258
</h2>
251259
<p>
252260
<ul>
@@ -291,10 +299,10 @@ <h2>
291299
To remove a file use “rm”
292300
</p>
293301
<p>
294-
Syntax: <code><font color="green">command</font><font color="yellow"> &lt;filename&gt;</font></code>
302+
Syntax: <code><font color="green">rm</font><font color="yellow"> &lt;filename&gt;</font></code>
295303
</p>
296304
<ul>
297-
<li>To remove a file recursively”: rm –r</li>
305+
<li>To remove a file recursively, type: <code><font color="green">rm</font><font color="yellow"> -r</font></code></li>
298306
<li>Used to remove all files and directories </li>
299307
</ul>
300308
<p>
@@ -339,7 +347,7 @@ <h2>
339347
If you own the file, you can change its permissions with “chmod”
340348
</p>
341349
<p>
342-
Syntax: <code><font color="green">chmod</font><font color="yellow"> &lt;[user/group/others/all]+[permission] [file(s)]&gt;</font></code>
350+
Syntax: <code><font color="green">chmod</font><font color="yellow"> [user/group/others/all]+[permission] [file(s)]</font></code>
343351
</p>
344352
</section>
345353
<section>
@@ -350,10 +358,10 @@ <h2>
350358
To count the characters, words, and lines in a file use “wc”
351359
</p>
352360
<p>
353-
Syntax: <code><font color="green">command</font><font color="yellow"> &lt;filename&gt;</font></code>
361+
Syntax: <code><font color="green">wc</font><font color="yellow"> &lt;filename&gt;</font></code>
354362
</p>
355363
<p>
356-
The first column in the output is lines, the second is words, and the last is characters
364+
The outputs are lines, words and characters.
357365
</p>
358366
</section>
359367
<section>
@@ -366,6 +374,10 @@ <h2>
366374
<li><a href="https://en.wikipedia.org/wiki/Linux">Linux on Wikipedia</a></li>
367375
</ul>
368376
</section>
377+
<section>
378+
<h1>Thank You</h1>
379+
</section>
380+
369381

370382
<section>
371383
<a href="index.html#/1">let's go on</a>

0 commit comments

Comments
 (0)