Re: How to view a files owner if username is + 8 chars?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Glynn Clements wrote:
Brandon Evans wrote:



The "stat" utility can handle usernames longer than 8 characters. So can the '%u' directive for "find ... -printf ...".

You can get roughly the same behaviour as "ls -l" with:

find $dir -mindepth 1 -maxdepth 1 -printf '%04m %3n %8u %8g %9s %Tb %Td %TY %f %l\n'


nice. stat will work just fine. Thank you!


-- Thanks, Brandon E. - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux