![]() |
|
|
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 Files in a Directory Excluding Subdirectories | Amol_Dicholkar | UNIX for Dummies Questions & Answers | 2 | 12-11-2008 07:54 AM |
| How to remove directory with subdirectories and files? | ppa108 | UNIX for Dummies Questions & Answers | 9 | 11-25-2008 02:02 AM |
| search files in a directory and its subdirectories | Net-Man | Shell Programming and Scripting | 1 | 09-04-2008 10:25 PM |
| Shell:Find a word in files in a directory and subdirectories | yeclota | Shell Programming and Scripting | 4 | 08-29-2008 06:05 AM |
| Find all files created by a specified user in a directory and its subdirectories | abhilashnair | UNIX for Dummies Questions & Answers | 5 | 06-13-2007 03:37 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
yes use the File::Find module anyway, that's the way you can get your above command to work without great masking: Code:
$a='find . ! -user 0 -exec ls -l {} \; | awk \'{print $3,$9}\'';
system ("$a");
the only thing you have to mask are single quotes if you wan't to use a variable out of the perl script, use a="command" ; and just mask the \" in your command |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|