zsh-users
 help / color / mirror / code / Atom feed
* How to find owner of file or folder?
@ 2012-02-27 16:55 TJ Luoma
  2012-02-27 17:31 ` Dan Nelson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: TJ Luoma @ 2012-02-27 16:55 UTC (permalink / raw)
  To: zsh-users

This is the only way that I know of to get the username who owns a
certain file or folder, such as /usr/local/

          command ls -ld /usr/local | awk '{print $3}'

(or `ls -dn` if you want the number instead of the name)

but that seems fairly inelegant.

Is there a better way?


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-27 19:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 16:55 How to find owner of file or folder? TJ Luoma
2012-02-27 17:31 ` Dan Nelson
2012-02-27 18:30   ` TJ Luoma
2012-02-27 18:38     ` Dan Nelson
2012-02-27 19:55       ` TJ Luoma
2012-02-27 17:35 ` Danek Duvall
2012-02-27 17:37 ` Peter Stephenson
2012-02-27 18:18   ` TJ Luoma

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).