Print this page
NEX-1767 ls is unable to display SIDs
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>


 663        -L
 664        --dereference
 665 
 666            If an argument is a symbolic link, this option evaluates the file
 667            information and file type of the file or directory that the link
 668            references, rather than those of the link itself. However, the name
 669            of the link is displayed, rather than the referenced file or
 670            directory.
 671 
 672 
 673        -m
 674 
 675            Streams output format. Files are listed across the page, separated
 676            by commas.
 677 
 678 
 679        -n
 680        --numeric-uid-gid
 681 
 682            The same as -l, except that the owner's UID and group's GID numbers
 683            are printed, rather than the associated character strings.






 684 
 685 
 686        -o
 687        --no-group
 688 
 689            The same as -l, except that the group is not printed.
 690 
 691 
 692        -p
 693 
 694            Puts a slash (/) after each filename if the file is a directory.
 695 
 696 
 697        -q
 698        --hide-control-chars
 699 
 700            Forces printing of non-printable characters in file names as the
 701            character question mark (?).
 702 
 703 


1703        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
1704        +--------------------+-----------------+
1705        |CSI                 | Enabled         |
1706        +--------------------+-----------------+
1707        |Interface Stability | Committed       |
1708        +--------------------+-----------------+
1709        |Standard            | See below.      |
1710        +--------------------+-----------------+
1711 
1712 
1713        For all options except -A, -b, -e, -E, -h, -S, U -v, -V, -@, -/, -%,
1714        --all, --almost-all, --block-size, --classify, --color, --colour,
1715        --dereference, --dereference-command-line, --escape, --file-type,
1716        --full-time, --human-readable, --ignore-backups, --inode, --no-group,
1717        --numeric-uid-gid, --reverse, --recursive, --si, --size, and --time-
1718        style, see standards(5).
1719 
1720 SEE ALSO
1721        chmod(1), cp(1), setfacl(1), fgetattr(3C), strftime(3C), terminfo(4),
1722        acl(5), attributes(5), environ(5), fsattr(5), largefile(5),
1723        standards(5)
1724 
1725 NOTES
1726        Unprintable characters in file names can confuse the columnar output
1727        options.
1728 
1729 
1730        The total block count is incorrect if there are hard links among the
1731        files.
1732 
1733 
1734        The sort order of ls output is affected by the locale and can be
1735        overridden by the LC_COLLATE environment variable. For example, if
1736        LC_COLLATE equals C, dot files appear first, followed by names
1737        beginning with upper-case letters, then followed by names beginning
1738        with lower-case letters. But if LC_COLLATE equals en_US.ISO8859-1, then
1739        leading dots as well as case are ignored in determining the sort order.
1740 
1741 




1742 
1743                                November 24, 2014                         LS(1)




 663        -L
 664        --dereference
 665 
 666            If an argument is a symbolic link, this option evaluates the file
 667            information and file type of the file or directory that the link
 668            references, rather than those of the link itself. However, the name
 669            of the link is displayed, rather than the referenced file or
 670            directory.
 671 
 672 
 673        -m
 674 
 675            Streams output format. Files are listed across the page, separated
 676            by commas.
 677 
 678 
 679        -n
 680        --numeric-uid-gid
 681 
 682            The same as -l, except that the owner's UID and group's GID numbers
 683            are printed, rather than the associated character strings. Files
 684            for which owner and/or group is a Windows Security Identifier
 685            (SID), -n suppresses any lookups for the Windows Name string and
 686            prints only the raw SID.  Moreover, a second instance of this flag
 687            (-nn) can be used to further suppress idmapd(1M) lookups of the
 688            file's owner and/or group SID, thus forcing ls into printing the
 689            raw ephemeral numeric identifiers.
 690 
 691 
 692        -o
 693        --no-group
 694 
 695            The same as -l, except that the group is not printed.
 696 
 697 
 698        -p
 699 
 700            Puts a slash (/) after each filename if the file is a directory.
 701 
 702 
 703        -q
 704        --hide-control-chars
 705 
 706            Forces printing of non-printable characters in file names as the
 707            character question mark (?).
 708 
 709 


1709        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
1710        +--------------------+-----------------+
1711        |CSI                 | Enabled         |
1712        +--------------------+-----------------+
1713        |Interface Stability | Committed       |
1714        +--------------------+-----------------+
1715        |Standard            | See below.      |
1716        +--------------------+-----------------+
1717 
1718 
1719        For all options except -A, -b, -e, -E, -h, -S, U -v, -V, -@, -/, -%,
1720        --all, --almost-all, --block-size, --classify, --color, --colour,
1721        --dereference, --dereference-command-line, --escape, --file-type,
1722        --full-time, --human-readable, --ignore-backups, --inode, --no-group,
1723        --numeric-uid-gid, --reverse, --recursive, --si, --size, and --time-
1724        style, see standards(5).
1725 
1726 SEE ALSO
1727        chmod(1), cp(1), setfacl(1), fgetattr(3C), strftime(3C), terminfo(4),
1728        acl(5), attributes(5), environ(5), fsattr(5), largefile(5),
1729        standards(5), idmapd(1M)
1730 
1731 NOTES
1732        Unprintable characters in file names can confuse the columnar output
1733        options.
1734 
1735 
1736        The total block count is incorrect if there are hard links among the
1737        files.
1738 
1739 
1740        The sort order of ls output is affected by the locale and can be
1741        overridden by the LC_COLLATE environment variable. For example, if
1742        LC_COLLATE equals C, dot files appear first, followed by names
1743        beginning with upper-case letters, then followed by names beginning
1744        with lower-case letters. But if LC_COLLATE equals en_US.ISO8859-1, then
1745        leading dots as well as case are ignored in determining the sort order.
1746 
1747 
1748        For additional information regarding Windows Security Identifiers,
1749        consult Microsoft support document, Well-known security identifiers in
1750        Windows operating systems, which can be found at Microsoft's support
1751        site: https://support.microsoft.com/en-us/kb/243330/.
1752 
1753 
1754 
1755                                  July 1, 2016                            LS(1)