ppt

 view release on metacpan or  search on metacpan

html/commands/ls/ls.fisherm.html  view on Meta::CPAN

>-1</a></dt><p class="pad"></p>

<dd>List entries 1 per line (default if output is not a tty).</dd><p class="pad"></p>

<dt><a name="-R"
>-R</a></dt><p class="pad"></p>

<dd>Recursively list the contents of all directories,
breadth-first.</dd><p class="pad"></p>

<dt><a name="-S"
>-S</a></dt><p class="pad"></p>

<dd>Sort descending by size.</dd><p class="pad"></p>

<dt><a name="-a"
>-a</a></dt><p class="pad"></p>

<dd>List all files (normally files starting with &#39;.&#39; are ignored).</dd><p class="pad"></p>

<dt><a name="-c"
>-c</a></dt><p class="pad"></p>

<dd>Sort by decending last modification time of inode.</dd><p class="pad"></p>

<dt><a name="-d"
>-d</a></dt><p class="pad"></p>

<dd>Do not list directory contents.</dd><p class="pad"></p>

<dt><a name="-f"
>-f</a></dt><p class="pad"></p>

<dd>Do not sort -- list in whatever order files/directories are returned by the directory read function.</dd><p class="pad"></p>

<dt><a name="-i"
>-i</a></dt><p class="pad"></p>

<dd>List file inode number.
(Doesn&#39;t mean much on non-inode systems.)</dd><p class="pad"></p>

<dt><a name="-k"
>-k</a></dt><p class="pad"></p>

<dd>When used with <b>-s</b>,
list file/directory size in 1024-byte blocks.</dd><p class="pad"></p>

<dt><a name="-l"
>-l</a></dt><p class="pad"></p>

<dd>Long format listing of mode -- # of links,
owner name,
group name,
size in bytes,
time of last modification,
and name.</dd><p class="pad"></p>

<dt><a name="-n"
>-n</a></dt><p class="pad"></p>

<dd>List numeric uid and gid (default on platforms without getpwuid()).</dd><p class="pad"></p>

<dt><a name="-r"
>-r</a></dt><p class="pad"></p>

<dd>Reverse sorting order.</dd><p class="pad"></p>

<dt><a name="-s"
>-s</a></dt><p class="pad"></p>

<dd>List file/directory size in 512-byte blocks.
(May not mean much on non-Unix systems.)</dd><p class="pad"></p>

<dt><a name="-t"
>-t</a></dt><p class="pad"></p>

<dd>Sort by decending last modification time.</dd><p class="pad"></p>

<dt><a name="-u"
>-u</a></dt><p class="pad"></p>

<dd>Sort by decending last access time.</dd><p class="pad"></p>
</dl>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="ENVIRONMENT"
>ENVIRONMENT</a></h1>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="BUGS"
>BUGS</a></h1>

<p>The file metadata from stat() is used,
which may not necessarily mean much on non-Unix systems.
Specifically,
the uid,
gid,
inode,
and block numbers may be meaningless (or less than meaningful at least).</p>

<p>The <b>-l</b> option does not yet list the major and minor device numbers for special files,
but it does list the value of the &#39;dev&#39; field as 2 hex 16-bit words.
Doing this properly would probably require filesystem type probing.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>This Perl implementation of <i>ls</i> was written by Mark Leighton Fisher of Thomson Consumer Electronics,
<i>fisherm@tce.com</i>.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="COPYRIGHT_and_LICENSE"
>COPYRIGHT and LICENSE</a></h1>

<p>This program is free and open software.
You may use,
modify,
distribute,
and sell this program (and any modified variants) in any way you wish,
provided you do not restrict others from doing the same.</p>



( run in 0.484 second using v1.01-cache-2.11-cpan-fe3c2283af0 )