pavement

DIR

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Under FreeBSD and other unix-like OSes, the equivalent command is [[ls]].
+
 
 +
  <tr>
 +
    <td colspan="2"><hr size="1"></td>
 +
  </tr>
 +
</table>
  
[[ls]] is best combined with [[grep]] if you plan on doing any filtering: '''dir *.txt''' is equivalent to '''ls | grep .txt''', and '''dir boogy*.*''' is equivalent to '''ls | grep boogy'''.
+
<a href="/pub/demo/" class="href">Tropicalm Demo</a>
 
+
<br>
Note that in the second example, '''ls | grep boogy''' is actually directly equivalent to '''dir *boogy*.*''', not just '''dir boogy*.*'''.  If you really want to only find instances in which "boogy" is the very beginning of the filename, you'll need to delve into using grep with [[regular expressions]].
+
 
+
[[Category:Windows Equivalents]]
+

Revision as of 06:47, 7 July 2005

 <tr>
<td colspan="2">
</td>
 </tr>

</table>

<a href="/pub/demo/" class="href">Tropicalm Demo</a>

Personal tools