-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinux.html
More file actions
175 lines (155 loc) · 5.12 KB
/
Linux.html
File metadata and controls
175 lines (155 loc) · 5.12 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Linux — Huffles IT Services</title>
<style>
body {
background-color: #0A0A0A;
color: #FFFFFF;
font-family: 'Segoe UI', sans-serif;
padding: 40px 20px;
text-align: center;
}
h1, h2 {
color: #0F52BA;
margin-bottom: 20px;
}
.table-group {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
max-width: 1200px;
margin: 0 auto 60px;
}
table {
flex: 1 1 300px;
max-width: 400px;
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #0F52BA;
padding: 12px;
text-align: left;
background-color: #111111;
}
th {
background-color: #0F52BA;
color: #FFFFFF;
}
@media screen and (max-width: 600px) {
.table-group {
flex-direction: column;
align-items: center;
}
table thead {
display: none;
}
table, table tbody, table tr, table td {
display: block;
width: 100%;
}
table tr {
margin-bottom: 20px;
border: 1px solid #0F52BA;
background-color: #111111;
padding: 10px;
}
table td {
text-align: right;
padding-left: 50%;
position: relative;
}
table td::before {
content: attr(data-label);
position: absolute;
left: 10px;
width: 45%;
padding-left: 10px;
font-weight: bold;
text-align: left;
color: #0F52BA;
}
}
footer {
margin-top: 60px;
font-size: 0.9em;
color: #FFFFFF;
}
.back-button {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
background-color: #0F52BA;
color: #FFFFFF;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
}
.back-button:hover {
background-color: #FFFFFF;
color: #0F52BA;
}
</style>
</head>
<body>
<h1>Linux</h1>
<h2>Terminal Command Reference</h2>
<div class="table-group">
<table>
<thead><tr><th>Navigation</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">pwd</td><td data-label="Description">Print working directory</td></tr>
<tr><td data-label="Command">ls</td><td data-label="Description">List directory contents</td></tr>
<tr><td data-label="Command">cd</td><td data-label="Description">Change directory</td></tr>
<tr><td data-label="Command">tree</td><td data-label="Description">Visual directory structure</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>File Operations</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">touch</td><td data-label="Description">Create empty file</td></tr>
<tr><td data-label="Command">cp</td><td data-label="Description">Copy files</td></tr>
<tr><td data-label="Command">mv</td><td data-label="Description">Move or rename files</td></tr>
<tr><td data-label="Command">rm</td><td data-label="Description">Remove files</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>Permissions</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">chmod</td><td data-label="Description">Change file permissions</td></tr>
<tr><td data-label="Command">chown</td><td data-label="Description">Change file ownership</td></tr>
<tr><td data-label="Command">umask</td><td data-label="Description">Set default permissions</td></tr>
<tr><td data-label="Command">ls -l</td><td data-label="Description">List with permissions</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>System Info</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">uname -a</td><td data-label="Description">System details</td></tr>
<tr><td data-label="Command">top</td><td data-label="Description">Live process monitor</td></tr>
<tr><td data-label="Command">df -h</td><td data-label="Description">Disk usage</td></tr>
<tr><td data-label="Command">free -m</td><td data-label="Description">Memory usage</td></tr>
</tbody>
</table>
<table>
<thead><tr><th>Package Management</th><th>Description</th></tr></thead>
<tbody>
<tr><td data-label="Command">apt update</td><td data-label="Description">Update package list (Debian)</td></tr>
<tr><td data-label="Command">apt upgrade</td><td data-label="Description">Upgrade packages</td></tr>
<tr><td data-label="Command">yum install</td><td data-label="Description">Install package (RHEL)</td></tr>
<tr><td data-label="Command">dnf remove</td><td data-label="Description">Remove package (Fedora)</td></tr>
</tbody>
</table>
</div>
<footer>
<p>© 2025 Huffles IT Services LLC — All rights reserved.</p>
<p>
<a class="back-button" href="Huffles-IT-Services-Code-Reference.html">🖥️ Back to Porch</a>
</p>
</footer>
</body>
</html>