当我使用时ls -l
,它不会在列表中显示组名。仅用户名。
aj@host:/media/storage$ ll
total 724
drwxrwxrwx 10 root 4096 Sep 17 18:23 .
drwxr-xr-x 3 root 4096 Jun 16 14:18 ..
drwxrwxr-x 5 aj 4096 Aug 8 01:22 blessed-data
drwxrwxr-x 4 git 4096 Jul 21 15:27 git-repos
drwx------ 2 root 16384 Jun 16 14:33 lost+found
drwxrwsr-x 2 analyst 4096 Sep 17 18:23 projects
为什么不ls -l
显示组名,而仅显示用户名?
我正在运行Ubuntu 14.04 LTS(Trusty)。
您正在使用以下别名:
alias ll='ls -alG'
G
从别名中删除或使用ls -al
。
选择:
如果您不想更改别名,而只想列出包含组的一次性清单,则可以使用/bin/ls -al
,它会绕过ls
您定义的任何别名。
-G, --no-group inhibit display of group information
来源LS
笔记:
-G
对于ls
在OS X为“启用彩色输出”本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句