Locate: Difference between revisions

m fix link
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Tags: Mobile edit Mobile web edit
 
Line 7: Line 7:
Note: Because the dollar sign has special significance to the shell, we enclose the function argument in single quotes to pass it literally to the function and the shell won't 'see' it.
Note: Because the dollar sign has special significance to the shell, we enclose the function argument in single quotes to pass it literally to the function and the shell won't 'see' it.


<source lang="bash">
<syntaxhighlight lang="bash">
locate -r '/phase3$'
locate -r '/phase3$'
</source>
</syntaxhighlight>