Skip to content

Commit 9dcc557

Browse files
first set up complete
1 parent 4fe34d0 commit 9dcc557

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+390
-153
lines changed

FDO1/cat/index.html

Whitespace-only changes.

FDO1/cat/style.css

Whitespace-only changes.

FDO1/cd/cd.html renamed to FDO1/cd/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>cd Command Explanation</title>
7-
<link rel="stylesheet" href="cd.css">
7+
<link rel="stylesheet" href="style.css">
88
</head>
99
<body>
1010
<div class="container">
File renamed without changes.

FDO1/cp/index.html

Whitespace-only changes.

FDO1/cp/style.css

Whitespace-only changes.

FDO1/ls/ls.html renamed to FDO1/ls/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>ls Command Explanation</title>
7-
<link rel="stylesheet" href="ls.css">
7+
<link rel="stylesheet" href="style.css">
88
</head>
99
<body>
1010
<div class="container">
File renamed without changes.

FDO1/mkdir/index.html

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>mkdir Command Explanation</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<div class="container">
11+
<h1>Understanding the <code>mkdir</code> Command</h1>
12+
13+
<section>
14+
<h2>Basic Usage of <code>mkdir</code></h2>
15+
<p>The <code>mkdir</code> command is used to create new directories in Linux. The most basic form of the command is:</p>
16+
<div class="code-block">
17+
<code>mkdir [directory_name]</code>
18+
</div>
19+
<p>This will create a directory with the specified name in the current working directory.</p>
20+
</section>
21+
22+
<section>
23+
<h2>Options Available with <code>mkdir</code></h2>
24+
25+
<h3><code>mkdir</code> (Basic Usage)</h3>
26+
<p>Creates a new directory in the current location:</p>
27+
<div class="code-block">
28+
<code>mkdir new_folder</code>
29+
</div>
30+
31+
<h3><code>mkdir -p</code> (Create Parent Directories)</h3>
32+
<p>Creates the directory and any necessary parent directories:</p>
33+
<div class="code-block">
34+
<code>mkdir -p /home/user/new_folder/sub_folder</code>
35+
</div>
36+
37+
<h3><code>mkdir -v</code> (Verbose Mode)</h3>
38+
<p>Prints a message for each directory that is created:</p>
39+
<div class="code-block">
40+
<code>mkdir -v new_folder</code>
41+
</div>
42+
<p>Output:</p>
43+
<div class="code-block">
44+
<code>mkdir: created directory 'new_folder'</code>
45+
</div>
46+
47+
<h3><code>mkdir -m</code> (Set Permissions)</h3>
48+
<p>Creates a directory with the specified permissions:</p>
49+
<div class="code-block">
50+
<code>mkdir -m 755 new_folder</code>
51+
</div>
52+
53+
<h3><code>mkdir --help</code> (Show Help)</h3>
54+
<p>Displays help information for the <code>mkdir</code> command:</p>
55+
<div class="code-block">
56+
<code>mkdir --help</code>
57+
</div>
58+
</section>
59+
60+
<section>
61+
<h2>Summary of Options</h2>
62+
<table>
63+
<thead>
64+
<tr>
65+
<th>Option</th>
66+
<th>Description</th>
67+
</tr>
68+
</thead>
69+
<tbody>
70+
<tr>
71+
<td><code>mkdir [directory_name]</code></td>
72+
<td>Creates a new directory.</td>
73+
</tr>
74+
<tr>
75+
<td><code>mkdir -p [path]</code></td>
76+
<td>Creates a directory and any necessary parent directories.</td>
77+
</tr>
78+
<tr>
79+
<td><code>mkdir -v [directory_name]</code></td>
80+
<td>Prints a message for each directory created.</td>
81+
</tr>
82+
<tr>
83+
<td><code>mkdir -m [mode] [directory_name]</code></td>
84+
<td>Creates a directory with the specified permissions.</td>
85+
</tr>
86+
<tr>
87+
<td><code>mkdir --help</code></td>
88+
<td>Displays help information.</td>
89+
</tr>
90+
</tbody>
91+
</table>
92+
</section>
93+
94+
<section>
95+
<h2>Manual Pages</h2>
96+
<p>For more detailed information, use the manual page for the <code>mkdir</code> command:</p>
97+
<div class="code-block">
98+
<code>man mkdir</code>
99+
</div>
100+
</section>
101+
</div>
102+
</body>
103+
</html>
File renamed without changes.

FDO1/mv/index.html

Whitespace-only changes.

FDO1/mv/style.css

Whitespace-only changes.

FDO1/pwd/pwd.html renamed to FDO1/pwd/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>pwd Command Explanation</title>
7-
<link rel="stylesheet" href="pwd.css">
7+
<link rel="stylesheet" href="style.css">
88
</head>
99
<body>
1010
<div class="container">

FDO1/pwd/style.css

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
font-family: Arial, sans-serif;
9+
background-color: #f9f9f9;
10+
color: #333;
11+
line-height: 1.6;
12+
}
13+
14+
.container {
15+
max-width: 800px;
16+
margin: 40px auto;
17+
padding: 20px;
18+
background-color: #fff;
19+
border-radius: 8px;
20+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21+
}
22+
23+
h1 {
24+
color: #1e90ff;
25+
margin-bottom: 20px;
26+
}
27+
28+
h2 {
29+
color: #1e90ff;
30+
margin-top: 20px;
31+
}
32+
33+
h3 {
34+
margin-top: 15px;
35+
color: #444;
36+
}
37+
38+
p {
39+
margin-bottom: 15px;
40+
}
41+
42+
ul {
43+
margin-top: 10px;
44+
padding-left: 20px;
45+
}
46+
47+
li {
48+
margin-bottom: 10px;
49+
}
50+
51+
.code-block {
52+
background-color: #f4f4f4;
53+
padding: 10px;
54+
border-left: 3px solid #1e90ff;
55+
margin: 10px 0;
56+
font-family: monospace;
57+
}
58+
59+
code {
60+
font-family: monospace;
61+
color: #c7254e;
62+
background-color: #f9f2f4;
63+
padding: 2px 4px;
64+
border-radius: 4px;
65+
}
66+
67+
table {
68+
width: 100%;
69+
border-collapse: collapse;
70+
margin-top: 15px;
71+
}
72+
73+
thead {
74+
background-color: #1e90ff;
75+
color: #fff;
76+
}
77+
78+
th, td {
79+
padding: 10px;
80+
border: 1px solid #ddd;
81+
text-align: left;
82+
}
83+
84+
tbody tr:nth-child(even) {
85+
background-color: #f4f4f4;
86+
}

FDO1/rm/index.html

Whitespace-only changes.

FDO1/rm/style.css

Whitespace-only changes.

FDO1/rmdir/index.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>rmdir Command Explanation</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<div class="container">
11+
<h1>Understanding the <code>rmdir</code> Command</h1>
12+
13+
<section>
14+
<h2>Basic Usage of <code>rmdir</code></h2>
15+
<p>The <code>rmdir</code> command is used to remove empty directories in Linux. The most basic form of the command is:</p>
16+
<div class="code-block">
17+
<code>rmdir [directory_name]</code>
18+
</div>
19+
<p>This will remove the specified directory if it is empty.</p>
20+
</section>
21+
22+
<section>
23+
<h2>Options Available with <code>rmdir</code></h2>
24+
25+
<h3><code>rmdir</code> (Basic Usage)</h3>
26+
<p>Removes an empty directory:</p>
27+
<div class="code-block">
28+
<code>rmdir empty_folder</code>
29+
</div>
30+
31+
<h3><code>rmdir -p</code> (Remove Parent Directories)</h3>
32+
<p>Removes the directory and its parent directories, but only if they are empty:</p>
33+
<div class="code-block">
34+
<code>rmdir -p /home/user/dir1/dir2</code>
35+
</div>
36+
37+
<h3><code>rmdir --ignore-fail-on-non-empty</code> (Ignore Non-empty Errors)</h3>
38+
<p>Ignores errors when trying to remove non-empty directories:</p>
39+
<div class="code-block">
40+
<code>rmdir --ignore-fail-on-non-empty non_empty_folder</code>
41+
</div>
42+
43+
<h3><code>rmdir --help</code> (Show Help)</h3>
44+
<p>Displays help information for the <code>rmdir</code> command:</p>
45+
<div class="code-block">
46+
<code>rmdir --help</code>
47+
</div>
48+
</section>
49+
50+
<section>
51+
<h2>Summary of Options</h2>
52+
<table>
53+
<thead>
54+
<tr>
55+
<th>Option</th>
56+
<th>Description</th>
57+
</tr>
58+
</thead>
59+
<tbody>
60+
<tr>
61+
<td><code>rmdir [directory_name]</code></td>
62+
<td>Removes an empty directory.</td>
63+
</tr>
64+
<tr>
65+
<td><code>rmdir -p [path]</code></td>
66+
<td>Removes a directory and any parent directories if they are empty.</td>
67+
</tr>
68+
<tr>
69+
<td><code>rmdir --ignore-fail-on-non-empty</code></td>
70+
<td>Ignores errors for non-empty directories.</td>
71+
</tr>
72+
<tr>
73+
<td><code>rmdir --help</code></td>
74+
<td>Displays help information.</td>
75+
</tr>
76+
</tbody>
77+
</table>
78+
</section>
79+
80+
<section>
81+
<h2>Manual Pages</h2>
82+
<p>For more detailed information, use the manual page for the <code>rmdir</code> command:</p>
83+
<div class="code-block">
84+
<code>man rmdir</code>
85+
</div>
86+
</section>
87+
</div>
88+
</body>
89+
</html>

FDO1/rmdir/style.css

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
font-family: Arial, sans-serif;
9+
background-color: #f9f9f9;
10+
color: #333;
11+
line-height: 1.6;
12+
}
13+
14+
.container {
15+
max-width: 800px;
16+
margin: 40px auto;
17+
padding: 20px;
18+
background-color: #fff;
19+
border-radius: 8px;
20+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21+
}
22+
23+
h1 {
24+
color: #1e90ff;
25+
margin-bottom: 20px;
26+
}
27+
28+
h2 {
29+
color: #1e90ff;
30+
margin-top: 20px;
31+
}
32+
33+
h3 {
34+
margin-top: 15px;
35+
color: #444;
36+
}
37+
38+
p {
39+
margin-bottom: 15px;
40+
}
41+
42+
ul {
43+
margin-top: 10px;
44+
padding-left: 20px;
45+
}
46+
47+
li {
48+
margin-bottom: 10px;
49+
}
50+
51+
.code-block {
52+
background-color: #f4f4f4;
53+
padding: 10px;
54+
border-left: 3px solid #1e90ff;
55+
margin: 10px 0;
56+
font-family: monospace;
57+
}
58+
59+
code {
60+
font-family: monospace;
61+
color: #c7254e;
62+
background-color: #f9f2f4;
63+
padding: 2px 4px;
64+
border-radius: 4px;
65+
}
66+
67+
table {
68+
width: 100%;
69+
border-collapse: collapse;
70+
margin-top: 15px;
71+
}
72+
73+
thead {
74+
background-color: #1e90ff;
75+
color: #fff;
76+
}
77+
78+
th, td {
79+
padding: 10px;
80+
border: 1px solid #ddd;
81+
text-align: left;
82+
}
83+
84+
tbody tr:nth-child(even) {
85+
background-color: #f4f4f4;
86+
}

FDO1/touch/index.html

Whitespace-only changes.

FDO1/touch/style.css

Whitespace-only changes.

FSTP2/awk/index.html

Whitespace-only changes.

FSTP2/awk/style.css

Whitespace-only changes.

FSTP2/cut/index.html

Whitespace-only changes.

FSTP2/cut/style.css

Whitespace-only changes.

FSTP2/find/index.html

Whitespace-only changes.

FSTP2/find/style.css

Whitespace-only changes.

FSTP2/grep/index.html

Whitespace-only changes.

FSTP2/grep/style.css

Whitespace-only changes.

FSTP2/locate/index.html

Whitespace-only changes.

FSTP2/locate/style.css

Whitespace-only changes.

FSTP2/sed/index.html

Whitespace-only changes.

FSTP2/sed/style.css

Whitespace-only changes.

NM5/curl/index.html

Whitespace-only changes.

NM5/curl/style.css

Whitespace-only changes.

NM5/ifconfig/index.html

Whitespace-only changes.

NM5/ifconfig/style.css

Whitespace-only changes.

NM5/ip/index.html

Whitespace-only changes.

NM5/ip/style.css

Whitespace-only changes.

NM5/ping/index.html

Whitespace-only changes.

NM5/ping/style.css

Whitespace-only changes.

NM5/wget/index.html

Whitespace-only changes.

NM5/wget/style.css

Whitespace-only changes.

PM3/htop/index.html

Whitespace-only changes.

PM3/htop/style.css

Whitespace-only changes.

PM3/jobs/index.html

Whitespace-only changes.

PM3/jobs/style.css

Whitespace-only changes.

PM3/kill/index.html

Whitespace-only changes.

PM3/kill/style.css

Whitespace-only changes.

PM3/nice/index.html

Whitespace-only changes.

PM3/nice/style.css

Whitespace-only changes.

PM3/ps/index.html

Whitespace-only changes.

PM3/ps/style.css

Whitespace-only changes.

PM3/top/index.html

Whitespace-only changes.

PM3/top/style.css

Whitespace-only changes.

0 commit comments

Comments
 (0)