|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi All,
Is there any way given a file I will be able to know the name of hte owner of the file -Parag |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Thursday 8 May 2008 12:15, parag_paul@hotmail.com wrote:
> hi All, > Is there any way given a file I will be able to know the name of hte > owner of the file For example: stat -c %U file man stat for the details. Or, if you don't have stat: ls -l file | awk '{print $3}' -- All the commands are tested with bash and GNU tools, so they may use nonstandard features. I try to mention when something is nonstandard (if I'm aware of that), but I may miss something. Corrections are welcome. |
|
![]() |
| Outils de la discussion | |
|
|