Skip to content

Commit 117785c

Browse files
committed
deploy: c249eba
1 parent 6ab353a commit 117785c

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

user/print.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -1206,28 +1206,28 @@ <h2 id="options-10"><a class="header" href="#options-10">Options</a></h2>
12061206
</dl>
12071207
<h2 id="examples-8"><a class="header" href="#examples-8">Examples</a></h2>
12081208
<p>Give the [u]ser who owns a file the right to e[x]ecute it:</p>
1209-
<pre><code class="language-shell">chmod u+x {{file}}
1209+
<pre><code class="language-shell">chmod u+x {{path/to/file}}
12101210
</code></pre>
12111211
<p>Give the [u]ser rights to [r]ead and [w]rite to a file/directory:</p>
1212-
<pre><code class="language-shell">chmod u+rw {{file_or_directory}}
1212+
<pre><code class="language-shell">chmod u+rw {{path/to/file_or_directory}}
12131213
</code></pre>
12141214
<p>Remove e[x]ecutable rights from the [g]roup:</p>
1215-
<pre><code class="language-shell">chmod g-x {{file}}
1215+
<pre><code class="language-shell">chmod g-x {{path/to/file}}
12161216
</code></pre>
12171217
<p>Give [a]ll users rights to [r]ead and e[x]ecute:</p>
1218-
<pre><code class="language-shell">chmod a+rx {{file}}
1218+
<pre><code class="language-shell">chmod a+rx {{path/to/file}}
12191219
</code></pre>
12201220
<p>Give [o]thers (not in the file owner's group) the same rights as the [g]roup:</p>
1221-
<pre><code class="language-shell">chmod o=g {{file}}
1221+
<pre><code class="language-shell">chmod o=g {{path/to/file}}
12221222
</code></pre>
12231223
<p>Remove all rights from [o]thers:</p>
1224-
<pre><code class="language-shell">chmod o= {{file}}
1224+
<pre><code class="language-shell">chmod o= {{path/to/file}}
12251225
</code></pre>
12261226
<p>Change permissions recursively giving [g]roup and [o]thers the ability to [w]rite:</p>
1227-
<pre><code class="language-shell">chmod -R g+w,o+w {{directory}}
1227+
<pre><code class="language-shell">chmod -R g+w,o+w {{path/to/directory}}
12281228
</code></pre>
12291229
<p>Recursively give [a]ll users [r]ead permissions to files and e[X]ecute permissions to sub-directories within a directory:</p>
1230-
<pre><code class="language-shell">chmod -R a+rX {{directory}}
1230+
<pre><code class="language-shell">chmod -R a+rX {{path/to/directory}}
12311231
</code></pre>
12321232
<blockquote>
12331233
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

user/searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

user/searchindex.json

+1-1
Large diffs are not rendered by default.

user/utils/chmod.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -228,28 +228,28 @@ <h2 id="options"><a class="header" href="#options">Options</a></h2>
228228
</dl>
229229
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
230230
<p>Give the [u]ser who owns a file the right to e[x]ecute it:</p>
231-
<pre><code class="language-shell">chmod u+x {{file}}
231+
<pre><code class="language-shell">chmod u+x {{path/to/file}}
232232
</code></pre>
233233
<p>Give the [u]ser rights to [r]ead and [w]rite to a file/directory:</p>
234-
<pre><code class="language-shell">chmod u+rw {{file_or_directory}}
234+
<pre><code class="language-shell">chmod u+rw {{path/to/file_or_directory}}
235235
</code></pre>
236236
<p>Remove e[x]ecutable rights from the [g]roup:</p>
237-
<pre><code class="language-shell">chmod g-x {{file}}
237+
<pre><code class="language-shell">chmod g-x {{path/to/file}}
238238
</code></pre>
239239
<p>Give [a]ll users rights to [r]ead and e[x]ecute:</p>
240-
<pre><code class="language-shell">chmod a+rx {{file}}
240+
<pre><code class="language-shell">chmod a+rx {{path/to/file}}
241241
</code></pre>
242242
<p>Give [o]thers (not in the file owner's group) the same rights as the [g]roup:</p>
243-
<pre><code class="language-shell">chmod o=g {{file}}
243+
<pre><code class="language-shell">chmod o=g {{path/to/file}}
244244
</code></pre>
245245
<p>Remove all rights from [o]thers:</p>
246-
<pre><code class="language-shell">chmod o= {{file}}
246+
<pre><code class="language-shell">chmod o= {{path/to/file}}
247247
</code></pre>
248248
<p>Change permissions recursively giving [g]roup and [o]thers the ability to [w]rite:</p>
249-
<pre><code class="language-shell">chmod -R g+w,o+w {{directory}}
249+
<pre><code class="language-shell">chmod -R g+w,o+w {{path/to/directory}}
250250
</code></pre>
251251
<p>Recursively give [a]ll users [r]ead permissions to files and e[X]ecute permissions to sub-directories within a directory:</p>
252-
<pre><code class="language-shell">chmod -R a+rX {{directory}}
252+
<pre><code class="language-shell">chmod -R a+rX {{path/to/directory}}
253253
</code></pre>
254254
<blockquote>
255255
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

0 commit comments

Comments
 (0)