Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Následující verze | Předchozí verze | ||
cs:navody:ssh:dmls [26.10.2012 02:53] 127.0.0.1 upraveno mimo DokuWiki |
— (aktuální) | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
- | <html> | ||
- | <style> td {text-align:left; } </style> | ||
- | <div style="text-align:left"> | ||
- | <h1 align=center>DMLS</h1> | ||
- | <a href="#NAME">NAME</a><br> | ||
- | <a href="#SYNOPSIS">SYNOPSIS</a><br> | ||
- | <a href="#IMPLEMENTATION">IMPLEMENTATION</a><br> | ||
- | <a href="#DESCRIPTION">DESCRIPTION</a><br> | ||
- | <a href="#NOTES">NOTES</a><br> | ||
- | <a href="#ENVIRONMENT VARIABLES">ENVIRONMENT VARIABLES</a><br> | ||
- | <a href="#EXAMPLES">EXAMPLES</a><br> | ||
- | <a href="#FILES">FILES</a><br> | ||
- | <a href="#COPYRIGHT">COPYRIGHT</a><br> | ||
- | <a href="#SEE ALSO">SEE ALSO</a><br> | ||
- | <hr> | ||
- | <a name="NAME"></a> | ||
- | <h2>NAME</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%" style="text-align:left"> | ||
- | <p><b>dmls</b> − Lists contents of directories</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="SYNOPSIS"></a> | ||
- | <h2>SYNOPSIS</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%" style="text-align:left"> | ||
- | <p><b>dmls</b> [<b>-1</b>] [<b>-a</b>] [<b>-A</b>] | ||
- | [<b>-b</b>] [<b>-c</b>] [<b>-C</b>] [<b>-d</b>] [<b>-f</b>] | ||
- | [<b>-F</b>] [<b>-g</b>] [<b>-h</b>] [<b>-i</b>] [<b>-k</b>] | ||
- | [<b>-l</b>] [<b>-L</b>] [<b>-m</b>] [<b>-n</b>] [<b>-o</b>] | ||
- | [<b>-p</b>] [<b>-q</b>] [<b>-r</b>] [<b>-R</b>] [<b>-s</b>] | ||
- | [<b>-S</b>] [<b>-t</b>] [<b>-u</b>] [<b>-x</b>] | ||
- | [<i>names</i> ...]</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="IMPLEMENTATION"></a> | ||
- | <h2>IMPLEMENTATION</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0" style="text-align:left"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>SGI systems licensed for the Data Migration Facility | ||
- | (DMF) and systems functioning as DMF clients.</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="DESCRIPTION"></a> | ||
- | <h2>DESCRIPTION</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>The <b>dmls</b> command lists each specified file or | ||
- | directory path.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>For each directory argument, <b>dmls</b> lists the | ||
- | contents of the directory; for each file argument, | ||
- | <b>dmls</b> repeats the directory name and any other | ||
- | information requested. The output is sorted alphabetically | ||
- | by default. When you do not provide arguments, the current | ||
- | directory is listed. When you provide several arguments, the | ||
- | arguments are first sorted appropriately, but file arguments | ||
- | appear before directories and their contents.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>See the ENVIRONMENT VARIABLES section for information on | ||
- | how <b>dmls</b> uses environment variables to display | ||
- | output.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The <b>dmls</b> command has three major listing formats. | ||
- | The default format for output directed to a terminal is | ||
- | multi-column with entries sorted vertically. The options | ||
- | <b>-C</b> and <b>-x</b> enable multi-column formats; the | ||
- | <b>-m</b> option enables stream output format, in which | ||
- | files are listed horizontally, separated by commas.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The <b>dmls</b> command accepts the following | ||
- | options:</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- TABS --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="4" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>Option</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p><b>Description</b></p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-1</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists one entry per line of output.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-a</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists all entries, including those that begin with a | ||
- | period or dot character (<b>.</b>), which are normally not | ||
- | listed.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-A</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists all entries except <b>.</b> and <b>..</b> .</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-b</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Non-printable characters are printed as octal escapes. | ||
- | All multibyte characters are considered printable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-c</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Uses the time of last modification of the inode (file | ||
- | created, mode changed, and so on) for sorting (when used | ||
- | with <b>-t</b>) or printing (when used with <b>-l</b>).</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-C</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists entries in multi-column format with entries sorted | ||
- | vertically. This is the default output format.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-d</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>If an argument is a directory, lists only its name (not | ||
- | its contents); often used with <b>-l</b> to obtain the | ||
- | status of a directory.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-f</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Forces each argument to be interpreted as a directory | ||
- | and lists the name found in each slot. This option turns off | ||
- | <b>-l</b>, <b>-r</b>, <b>-s</b>, and <b>-t</b>, and turns on | ||
- | <b>-a</b>. The order of printing is the order in which | ||
- | entries appear in the directory.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-F</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Appends a character to each file name indicating the | ||
- | file type. For regular files that are executable, appends an | ||
- | asterisk (<b>*</b>). The file type indicators are a | ||
- | backslash (<b>/</b>) for directories, an at sign (<b>@</b>) | ||
- | for symbolic links, an equal sign (<b>=</b>) for | ||
- | <b>AF_UNIX</b> address family sockets, and nothing for | ||
- | regular files. Symbolic links are followed to see if they | ||
- | might be a directory.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-g</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Like <b>-l</b>, but does not list the owner of a file. | ||
- | It does list mode, number of links, group, size in bytes, | ||
- | and time of last modification for each file.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-h</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>When file sizes are printed, prints them in a format | ||
- | that is easier to read for large files. The size consists of | ||
- | the number of units followed by a unit specifier (<b>b</b> | ||
- | for bytes, <b>K</b> for kilobytes, <b>M</b> for megabytes, | ||
- | <b>G</b> for gigabytes, and so on.)</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-i</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>For each file, prints the inode number in the first | ||
- | column of the report.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-k</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Modifies the <b>-s</b> parameter to specify kilobyte | ||
- | blocks. Overrides the <b>BLOCKSIZE</b> environment | ||
- | variable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="8%"> | ||
- | |||
- | <p><b>-l</b></p> | ||
- | </td> | ||
- | <td width="5%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists file names in long format, giving mode, number of | ||
- | links, owner, group, size in bytes, time of last | ||
- | modification, and, in parentheses before the file name, the | ||
- | DMF state.</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="24%"></td> | ||
- | <td width="75%"> | ||
- | <p>On IRIX systems, if the file has an Access Control List | ||
- | (ACL), the mode specification will be followed by a plus | ||
- | sign (<b>+</b>). On Linux systems, if support for ACLs is | ||
- | installed and the file has an access ACL that is not | ||
- | equivalent to the file permission bits, or if it has a | ||
- | default ACL, the mode specification will be followed by a | ||
- | plus sign (<b>+</b>). If the file is a special file, the | ||
- | size field contains the major and minor device numbers | ||
- | rather than a size. If the file is a symbolic link, the file | ||
- | name is printed followed by dash and greater than character | ||
- | (<b>-></b>) and the path name of the referenced file.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The state of DMF files can be as follows:</p></td> | ||
- | </table> | ||
- | <!-- TABS --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="4" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>REG</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>File not managed by DMF</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>MIG</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Migrating</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>ARC</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Archiving</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>DUL</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Dual-state</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>OFL</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Offline</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>UNM</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Unmigrating</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>NMG</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Nonmigratable file</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>PAR</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>Partial-state file</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>N/A</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>DMF cannot determine the file’s state. This may be | ||
- | because the file is not in a DMF-managed filesystem or | ||
- | because an error occurred when attempting to retrieve the | ||
- | file’s state.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>INV</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>The file is in an invalid state. That is, the | ||
- | file’s stat block contains fields that are | ||
- | inconsistent with each other and so do not represent any | ||
- | valid file state.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="19%"> | ||
- | |||
- | <p><b>-L</b></p> | ||
- | </td> | ||
- | <td width="1%"></td> | ||
- | <td width="67%"> | ||
- | |||
- | <p>When listing status, if an argument is a symbolic | ||
- | link,</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>lists the status of the file or directory referenced by | ||
- | the link rather than that of the link itself. This option | ||
- | will have no effect if the <i>name</i> argument has no | ||
- | reference (that is, it is a dangling link).</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- TABS --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="4" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-m</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Stream output format; lists file names horizontally, | ||
- | separated by commas.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-n</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Like <b>-l</b>, but lists the owner’s UID and | ||
- | group’s GID numbers rather than the associated | ||
- | character strings.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-o</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Like <b>-l</b>, but does not list the file’s | ||
- | group. It does list mode, number of links, owner, size in | ||
- | bytes, and time of last modification for each file.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-p</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Appends a backslash (<b>/</b>) after each file name if | ||
- | the file is a directory.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-q</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Forces printing of nonprintable characters in file names | ||
- | as the character question mark (<b>?</b>). All multibyte | ||
- | characters are considered printable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-r</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Reverses the order of the <b>dmls</b> sort to get | ||
- | reverse alphabetic or oldest first order, as appropriate for | ||
- | your other options.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-R</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Recursively lists subdirectories encountered.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-s</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Provides size in blocks, including indirect blocks, for | ||
- | each entry. Holes in files are not included in the size. A | ||
- | block is 1024 bytes.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-S</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Sort output by file size.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-t</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Sorts by time stamp (latest first) instead of by name. | ||
- | The default is the last modification time. For more | ||
- | information, see the <b>-u</b> and <b>-c</b> option | ||
- | descriptions.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-u</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Sorts by time of last access instead of last | ||
- | modification (when used with the <b>-t</b> option) or | ||
- | printing (when used with the <b>-l</b> option).</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><b>-x</b></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Lists files in multi-column format with entries sorted | ||
- | horizontally rather than vertically.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="7%"> | ||
- | |||
- | <p><i>names</i></p> | ||
- | </td> | ||
- | <td width="7%"></td> | ||
- | <td width="73%"> | ||
- | |||
- | <p>Files to be listed. If no names are specified, | ||
- | <b>dmls</b> lists all files in the current directories.</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>Specifying more than one of the options in the following | ||
- | mutually exclusive pairs is not considered an error: | ||
- | <b>-C</b> and <b>-l</b> (letter l), <b>-m</b> and <b>-l</b> | ||
- | (letter l), <b>-x</b> and <b>-l</b> (letter l), <b>-C</b> | ||
- | and <b>-1</b> (number one), <b>-c</b> and <b>-u</b>. The | ||
- | last option specified in each pair determines the output | ||
- | format.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The mode printed under the <b>-l</b> option consists of | ||
- | 11 possible characters. The first character is one of the | ||
- | following:</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- TABS --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="5" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>b</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Block special file</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>c</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Character special file</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>d</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Directory</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>l</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Symbolic link</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>p</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>FIFO (named pipe) special file</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>S</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p><b>AF_UNIX</b> address family socket</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>-</b></p> | ||
- | </td> | ||
- | <td width="8%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Regular file</p> | ||
- | </td> | ||
- | <td width="33%"> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>The next 9 characters are interpreted as three sets of 3 | ||
- | bits each. The first set refers to the owner’s | ||
- | permissions, the next to permissions of others in the | ||
- | user-group of the file, and the last to all others. Within | ||
- | each set, the three characters indicate permission to read, | ||
- | to write, and to execute the file as a program, | ||
- | respectively. For a directory, execute permission is | ||
- | interpreted as permission to search the directory for a | ||
- | specified file.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example:</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The command <b>dmls -l</b> (the long list) prints its | ||
- | output as follows:</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> -rwxrwxrwx 1 u4710 dev 10876 2007-02-19 09:56 (REG) part2 | ||
- | </b></pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Reading from right to left, you see that the current | ||
- | directory holds one file, named <b>part2</b>. The file has | ||
- | the DMF state of <b>REG</b>. The last time that file’s | ||
- | contents were modified was 9:56 A.M. on February 19, 2007. | ||
- | The file contains 10,876 bytes. The owner of the file, or | ||
- | the user, belongs to the group <b>dev</b> and has the login | ||
- | name u4710. The number <b>1</b> in the second column | ||
- | indicates the number of links to file <b>part2</b>. The dash | ||
- | and letters tell you that user, group, and others have | ||
- | permissions to read, write, and execute <b>part2</b>.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The execute (<b>x</b>) symbol here occupies the third | ||
- | position of the three-character sequence. A dash (<b>-</b>) | ||
- | in the third position would indicate a denial of execution | ||
- | permissions.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The permissions are indicated as follows:</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- TABS --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="4" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>r</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The file is readable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>w</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The file is writable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>x</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The file is executable.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>-</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The indicated permission is not granted.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>l</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>Mandatory locking occurs during access (the set-group-ID | ||
- | is on, and the group execution bit is off).</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>s</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The set-user-ID or set-group-ID bit is on, and the | ||
- | corresponding user or group execution bit is also on.</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>S</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>Undefined bit-state (the set-user-ID bit is on and the | ||
- | user execution bit is off).</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>t</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The 1000 (octal) bit, or sticky bit, is on and execution | ||
- | is on. (See <b>chmod</b>(1) for more information).</p> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="1%"> | ||
- | |||
- | <p><b>T</b></p> | ||
- | </td> | ||
- | <td width="4%"></td> | ||
- | <td width="82%"> | ||
- | |||
- | <p>The 1000 bit is turned on, and execution is off | ||
- | (undefined bit-state)</p> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>For user and group permissions, the third position is | ||
- | sometimes occupied by a character other than <b>x</b> or | ||
- | <b>-</b>. The letter <b>s</b> may also occupy this position; | ||
- | it refers to the state of the set-ID bit, whether it be the | ||
- | user’s or the group’s. The ability to assume the | ||
- | same ID as the user during execution is, for example, used | ||
- | during login when you begin as <b>root</b> but must assume | ||
- | the identity of the user given at login.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>In the case of the sequence of group permissions, | ||
- | <b>l</b> may occupy the third position. <b>l</b> refers to | ||
- | mandatory file and record locking. This permission describes | ||
- | a file’s ability to allow other processes to lock its | ||
- | reading or writing permissions during access.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>For other permissions, the third position may be occupied | ||
- | by <b>t</b> or <b>T</b>. These refer to the state of the | ||
- | sticky bit and execution permissions.</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="NOTES"></a> | ||
- | <h2>NOTES</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>Unprintable characters in file names may confuse the | ||
- | columnar output options.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The total block count will be incorrect if there are hard | ||
- | links among the files.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>The <b>dmls</b> command was rewritten in DMF 3.7.0. As a | ||
- | result of the rewrite, the following <b>dmls</b> options | ||
- | were removed : D, H, M, O, P, T, v. On IRIX and SGI ProPack | ||
- | on SGI Altix ia64 systems, please see the <b>sgi_dmls</b>(1) | ||
- | man page for more information about these options.</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="ENVIRONMENT VARIABLES"></a> | ||
- | <h2>ENVIRONMENT VARIABLES</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>The <b>dmls</b> command uses supplementary code set | ||
- | characters according to the location specified in the | ||
- | <b>LC_CTYPE</b> and <b>LC_COLLATE</b> environment variables, | ||
- | except as noted under the <b>-b</b> and <b>-q</b> options. | ||
- | See the <b>environ</b>(5) man page for more information.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>To determine output formats for the <b>-C</b>, <b>-x</b>, | ||
- | and <b>-m</b> options, <b>dmls</b> uses the <b>COLUMNS</b> | ||
- | environment variable to determine the number of positions | ||
- | available on one output line. If this variable is not set, | ||
- | and the output is directed to a terminal, the number of | ||
- | positions is obtained from the terminal device. If this | ||
- | information cannot be obtained, <b>dmls</b> assumes 80 | ||
- | columns.</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="EXAMPLES"></a> | ||
- | <h2>EXAMPLES</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>The first example shows how you can use <b>dmls</b> to | ||
- | display migrated files. The remaining examples are general | ||
- | <b>ls</b> examples.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 1: The following command displays the files in | ||
- | directory <b>/dmi4/kfr</b>. The listing indicates offline | ||
- | and dual-state files as well as files that are currently | ||
- | unmigrating:</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> #</b> <b>dmls -l /dmi4/kfr | ||
- | </b> total 68584 | ||
- | -rw-r--r-- 1 kfr sys 16373855 2006-07-22 15:01 (OFL) dmf_tst.00005 | ||
- | -rw-r--r-- 1 kfr sys 26362860 2006-07-22 15:02 (OFL) dmf_tst.00015 | ||
- | -rw-r--r-- 1 kfr sys 36199305 2006-07-22 15:03 (OFL) dmf_tst.00025 | ||
- | -rw-r--r-- 1 kfr sys 39310090 2006-07-22 15:04 (OFL) dmf_tst.00035 | ||
- | -rw-r--r-- 1 kfr sys 51488786 2006-07-22 15:06 (OFL) dmf_tst.00045 | ||
- | -rw-r--r-- 1 kfr sys 16373855 2006-07-22 15:52 (OFL) dmf_tst.00163 | ||
- | -rw-r--r-- 1 kfr sys 36199305 2006-07-22 15:53 (UNM) dmf_tst.00183 | ||
- | -rw-r--r-- 1 kfr sys 39310090 2006-07-22 15:55 (OFL) dmf_tst.00193 | ||
- | -rw-r--r-- 1 kfr sys 17829904 2006-07-22 15:59 (UNM) dmf_tst.00223 | ||
- | -rw-r--r-- 1 kfr sys 14572782 2006-07-22 16:06 (UNM) dmf_tst.00233 | ||
- | -rw-r--r-- 1 kfr sys 16373855 2006-07-22 16:08 (OFL) dmf_tst.00246 | ||
- | -rw-r--r-- 1 kfr sys 27294750 2006-07-22 17:12 (DUL) dmf_tst.00606 | ||
- | -rw-r--r-- 1 kfr sys 72121722 2006-07-22 17:17 (OFL) dmf_tst.00616 | ||
- | -rw-r--r-- 1 kfr sys 22807602 2006-07-22 17:24 (DUL) dmf_tst.00636 | ||
- | </pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 2: The following is an example of a file’s | ||
- | permissions. The file is readable, writable, and executable | ||
- | by the user and readable by the group and others.</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> -rwxr--r-- | ||
- | </b></pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 3: The following example shows a file that is | ||
- | readable, writable, and executable by the user, readable and | ||
- | executable by the group and others, and allows its user ID | ||
- | to be assumed, during execution, by the user presently | ||
- | executing it.</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> -rwsr-xr-x | ||
- | </b></pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 4: The following file permission example shows | ||
- | that the file is writable only by the user and the group and | ||
- | can be locked during access.</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> -rw-rwl--- | ||
- | </b></pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 5: The following command line prints the names of | ||
- | all files in the current directory, including those that | ||
- | begin with a dot (<b>.</b>), which normally do not | ||
- | print.</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> ls -a | ||
- | </b></pre> | ||
- | <!-- INDENTATION --> | ||
- | <p>Example 6: The following command line provides | ||
- | information on all files, including those that begin with a | ||
- | dot (<b>.</b>) because the <b>-a</b> option is specified. | ||
- | The inode number of the file is printed in the left-hand | ||
- | column (<b>-i</b>); the size (in blocks) of the files is | ||
- | printed in the column to the right of the inode numbers | ||
- | (<b>-s</b>); and the report is displayed in the numeric | ||
- | version of the long list, printing the UID (instead of user | ||
- | name) and GID (instead of group name) numbers associated | ||
- | with the files(<b>-n</b>). When the sizes of the files in a | ||
- | directory are listed, a total count of blocks, including | ||
- | indirect blocks, excluding holes, is printed.</p> | ||
- | <!-- INDENTATION --> | ||
- | <pre><b> ls -aisn | ||
- | </b></pre> | ||
- | </td> | ||
- | </table> | ||
- | <a name="FILES"></a> | ||
- | <h2>FILES</h2> | ||
- | <!-- TABS --> | ||
- | |||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="5" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="16%"> | ||
- | |||
- | <p><b>/etc/passwd</b></p> | ||
- | </td> | ||
- | <td width="23%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>User IDs for <b>ls -l</b> and <b>ls -o</b>.</p> | ||
- | </td> | ||
- | <td width="4%"> | ||
- | </td> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="11%"></td> | ||
- | <td width="16%"> | ||
- | |||
- | <p><b>/etc/group</b></p> | ||
- | </td> | ||
- | <td width="23%"></td> | ||
- | <td width="44%"> | ||
- | |||
- | <p>Group IDs for <b>ls -l and ls -g</b>.</p> | ||
- | </td> | ||
- | <td width="4%"> | ||
- | </td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | |||
- | <p><b>/usr/lib/locale/locale/LC_MESSAGES/uxcore.abi</b></p></td> | ||
- | </table> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="33%"></td> | ||
- | <td width="66%"> | ||
- | <p>Language-specific message file. [See <b>LANG</b> on | ||
- | <b>environ</b>(5).]</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="COPYRIGHT"></a> | ||
- | <h2>COPYRIGHT</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p>Copyright (c) 2007 SGI. All rights reserved.</p> | ||
- | <!-- INDENTATION --> | ||
- | <p>Copyright (c) 1989, 1993 The Regents of the University of | ||
- | California. All rights reserved.</p> | ||
- | </td> | ||
- | </table> | ||
- | <a name="SEE ALSO"></a> | ||
- | <h2>SEE ALSO</h2> | ||
- | <!-- INDENTATION --> | ||
- | <table width="100%" border=0 rules="none" frame="void" | ||
- | cols="2" cellspacing="0" cellpadding="0"> | ||
- | <tr valign="top" align="left"> | ||
- | <td width="10%"></td> | ||
- | <td width="89%"> | ||
- | <p><b>dmfind</b>(1) and <b>dmattr</b>(1) for information | ||
- | about obtaining the DMF state of files</p> | ||
- | <!-- INDENTATION --> | ||
- | <p><b>chmod</b>(1) for more information about file | ||
- | permissions</p> | ||
- | </td> | ||
- | </table> | ||
- | <hr> | ||
- | </div> | ||
- | </html> |