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]].
 
Under FreeBSD and other unix-like OSes, the equivalent command is [[ls]].
 +
 +
[[ls]] is best combined with [[grep]] if you plan on doing any filtering.
 +
 +
Windows:
 +
 +
dir *.txt
 +
 +
Unix:
 +
 +
ls | grep .txt
 +
 +
Windows:
 +
 +
dir boogy*.*
 +
 +
Unix:
 +
 +
ls | grep boogy
  
 
[[Category:Windows Equivalents]]
 
[[Category:Windows Equivalents]]

Revision as of 13:58, 25 August 2004

Under FreeBSD and other unix-like OSes, the equivalent command is ls.

ls is best combined with grep if you plan on doing any filtering.

Windows:

dir *.txt

Unix:

ls | grep .txt

Windows:

dir boogy*.*

Unix:

ls | grep boogy

Personal tools