@@ -43,20 +43,56 @@ But you can be sure that all major Linux distros come with the binaries of those
4343## Commonly used commands
4444
4545<style >
46- .table
46+ .command- table
4747 {
48- width : 100% ;
48+ width : 100% !important ;
49+ font-size : 1rem !important ;
50+ table-layout : fixed !important ;
4951 }
5052
51- .table th , .table td
53+ .command- table th , .command- table td
5254 {
53- border : 1px solid ;
54- text-align : left ;
55+ border : 1px solid !important ;
56+ text-align : left !important ;
57+ padding : 6px !important ;
58+ }
59+
60+ .command-table th :nth-child (1 ),
61+ .command-table td :nth-child (1 )
62+ {
63+ width : 15% !important ;
64+ }
65+
66+ .command-table th :nth-child (2 ),
67+ .command-table td :nth-child (2 )
68+ {
69+ width : 10% !important ;
70+ }
71+
72+ .command-table th :nth-child (3 ),
73+ .command-table td :nth-child (3 )
74+ {
75+ width : 40% !important ;
76+ }
77+ </style >
78+
79+ <style >
80+ .shebang-table
81+ {
82+ width : 100% !important ;
83+ font-size : 1rem !important ;
84+ }
85+
86+ .shebang-table th , .shebang-table td
87+ {
88+ border : 1px solid !important ;
89+ text-align : left !important ;
90+ padding : 6px !important ;
5591 }
5692</style >
5793
5894<h3 >📂 Files & Directories</h3 >
59- <table class =" table " >
95+ <table class =" command- table" >
6096 <thead >
6197 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
6298 </thead >
@@ -78,7 +114,7 @@ But you can be sure that all major Linux distros come with the binaries of those
78114</table >
79115
80116<h3 >🔒 Privileges & Ownership</h3 >
81- <table >
117+ <table class = " command-table " >
82118 <thead >
83119 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
84120 </thead >
@@ -91,20 +127,20 @@ But you can be sure that all major Linux distros come with the binaries of those
91127</table >
92128
93129<h3 >🔍 Search & Filters</h3 >
94- <table >
130+ <table class = " command-table " >
95131 <thead >
96132 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
97133 </thead >
98134 <tbody >
99- <tr><td>find</td><td>gnu</td><td>Search for files in directories</td><td>find . -name "*.txt"</td></tr>
135+ <tr><td>find</td><td>gnu</td><td>Search for files in directories</td><td>find /home -name "*.txt"</td></tr>
100136 <tr><td>grep</td><td>gnu</td><td>Search text in files using patterns</td><td>grep "error" log.txt</td></tr>
101- <tr><td>sed</td><td>gnu</td><td>Filters text using given rules</td><td>sed 's/pattern/replacement /' file.txt</td></tr>
102- <tr><td>xargs</td><td>gnu</td><td>Build and execute commands from input </td><td>find /home -name "* .txt" | xargs rm </td></tr>
137+ <tr><td>sed</td><td>gnu</td><td>Filters text using given rules</td><td>sed 's/old/new /' file.txt</td></tr>
138+ <tr><td>xargs</td><td>gnu</td><td>Use output as arguments </td><td>cat dirs .txt | xargs rmdir </td></tr>
103139 </tbody >
104140</table >
105141
106142<h3 >⚙️ Processes</h3 >
107- <table >
143+ <table class = " command-table " >
108144 <thead >
109145 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
110146 </thead >
@@ -116,7 +152,7 @@ But you can be sure that all major Linux distros come with the binaries of those
116152</table >
117153
118154<h3 >📦 Archiving & Compression</h3 >
119- <table >
155+ <table class = " command-table " >
120156 <thead >
121157 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
122158 </thead >
@@ -128,7 +164,7 @@ But you can be sure that all major Linux distros come with the binaries of those
128164</table >
129165
130166<h3 >🌐 Networking</h3 >
131- <table >
167+ <table class = " command-table " >
132168 <thead >
133169 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
134170 </thead >
@@ -141,7 +177,7 @@ But you can be sure that all major Linux distros come with the binaries of those
141177</table >
142178
143179<h3 >💾 Storage & Disks</h3 >
144- <table >
180+ <table class = " command-table " >
145181 <thead >
146182 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
147183 </thead >
@@ -153,16 +189,16 @@ But you can be sure that all major Linux distros come with the binaries of those
153189</table >
154190
155191<h3 >🖥️ System & Other</h3 >
156- <table >
192+ <table class = " command-table " >
157193 <thead >
158194 <tr><th>Command</th><th>Project</th><th>Description</th><th>Example</th></tr>
159195 </thead >
160196 <tbody >
161197 <tr><td>shutdown</td><td>util-linux</td><td>Shut down the system</td><td>shutdown</td></tr>
162198 <tr><td>reboot</td><td>util-linux</td><td>Reboot the system</td><td>reboot</td></tr>
163199 <tr><td>clear</td><td>gnu</td><td>Clears the terminal output</td><td>clear</td></tr>
164- <tr><td>env</td><td>gnu</td><td>Show or set environment variables</td><td>env</td></tr>
165- <tr><td>export</td><td>gnu</td><td>Set environment variables for child processes </td><td>export VAR=value</td></tr>
200+ <tr><td>env</td><td>gnu</td><td>Configure environment variables</td><td>env</td></tr>
201+ <tr><td>export</td><td>gnu</td><td>Configure temp environment variables</td><td>export VAR=value</td></tr>
166202 <tr><td>which</td><td>other</td><td>Locate a command in PATH</td><td>which cat</td></tr>
167203 <tr><td>whereis</td><td>util-linux</td><td>Locate binaries</td><td>whereis cat</td></tr>
168204 <tr><td>type</td><td>bash</td><td>Show command type information</td><td>type cat</td></tr>
@@ -184,7 +220,7 @@ The sh shell is compatible with alot more unix like operating systems than just
184220
185221### Bash Compatible:
186222
187- <table >
223+ <table class = " shebang-table " >
188224 <tr >
189225 <th>Shebang</th>
190226 <th>Comment</th>
@@ -234,7 +270,7 @@ The sh shell is compatible with alot more unix like operating systems than just
234270
235271### Posix Compatible:
236272
237- <table >
273+ <table class = " shebang-table " >
238274 <tr >
239275 <th>Shebang</th>
240276 <th>Comment</th>
0 commit comments