![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find size of folders and its subfolders with the Owner details | bsandeep_80 | UNIX for Advanced & Expert Users | 5 | 04-15-2008 04:03 AM |
| Owner of file gets 'not owner' error for chgrp | brizrobbo | SUN Solaris | 4 | 12-18-2007 05:30 PM |
| how to find the owner PID of open socket on Solaris9? | sleepy_11 | UNIX for Dummies Questions & Answers | 1 | 12-11-2007 06:18 AM |
| Anyways to find sentences with data format and extract it??? | cyberray | Shell Programming and Scripting | 4 | 10-30-2007 11:22 PM |
| extract data from a find string | odogbolu98 | Shell Programming and Scripting | 2 | 05-15-2002 09:06 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to extract owner from find command
hi
how can I extract the owner of the file from the find command that I used below find /home -type f -atime +5 I tried something like this but didnt work. find /home -type f -atime +5 -ls |cut -f5 |
|
||||
|
Actually if your find supports the -ls action, that's fine, too. The problem with cut is that it expects tab-delimited output; you can change that, but using awk instead might be simpler.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|