What are the possible 'Mode' values returned by PowerShell's Get-ChildItem cmdlet?

后端 未结 4 466
孤独总比滥情好
孤独总比滥情好 2021-01-31 01:35

When I run PowerShell\'s Get-ChildItem on a directory (or any cmdlet that returns file system items), it shows a column called Mode, like this:

             


        
4条回答
  •  半阙折子戏
    2021-01-31 02:18

    Calling these "attributes" is a Windows-specific name and breaks from *nix tradition of calling this "mode". I.e. man chmod for "change mode".

    It looks like Windows API design is bending (or acquiescing) toward the more popular term in the wider industry: "Mode".

    +1 from me.

提交回复
热议问题