Skip to content

Commit 660b764

Browse files
committed
Update discussion about the which command
1 parent ffcdff9 commit 660b764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/the-terminal/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1>Basic Terminal Tutorial</h1>
142142
<dd>Provides info about whether <code class="small-caps">program</code> is an alias, command, function, etc. Combine the <code>-all</code> flag — for “all locations” — with <code>type</code> to see everything associated with <code class="small-caps">program</code>. For example, <kbd>type -all ls</kbd> reveals on my system that <code>ls</code> is aliased to <code>`ls --color=auto'</code> and that it resides at <code>/bin/ls</code> in my file system.</dd>
143143

144144
<dt><kbd>which <span class="small-caps">program</span></kbd></dt>
145-
<dd>Locates and prints the path to <code class="small-caps">program</code>. For example, if you wanted to know where the <code>touch</code> program was installed, <kbd>which ls</kbd> might respond with <code>/bin/ls</code>. Consider aliasing <code>which</code> to <kbd>type -all</kbd> in order to get more info about <code class="small-caps">program</code>.</dd>
145+
<dd>Locates and prints the path to <code class="small-caps">program</code>. For example, if you wanted to know where the <code>ls</code> program was installed, <kbd>which ls</kbd> would respond with <code>/bin/ls</code>. Consider aliasing <code>which</code> to <kbd>type -all</kbd> in order to get more info about <code class="small-caps">program</code>.</dd>
146146
</dl>
147147
</main>
148148
</body>

0 commit comments

Comments
 (0)