2 AIX servers (AIX 5.3). From local server, I need to manage remote files. But I have some errors with find :
# rsh remoteserver find /directory -name filename
is OK : I can see the remote file
BUT :
# rsh remoteserver find /directory -name filename -exec ls -l {} \;
fails : I have :
find :... (5 Replies)
Hi,
While trying to configure Apache Web Server on P630 Server i am getting the below message
"Creating Makefile in src
+ configured for AIX 5.2 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated"
when i did a "lslpp -l... (2 Replies)
I have a directory that our applications are continuely generate new file to it , some files hv a word "error" in content , I would like to find out which file hv this word and send me notify mail to inform me which file hv this word , currently , I have a stupid script to grep the word , the... (1 Reply)
Hi Guru's
here is part of my shell script where the error is coming.
function daemon_start
{
daemon=""
clear
:<<COMMENT
Meenakshi 25-Jun Code Cleanup IA - code comented - Start
echo "
`date`
... (1 Reply)
for FNAME in `find . -type f -exec grep -il unixs317 {} \;`; do C=`grep -c unixs317 ${FNAME}`; echo "${C}:${FNAME}" >> output.txt; done
When I run this command and a directory is empty it is returning an error and just does nothing more.
How can I continue with my search even when it find... (3 Replies)
Have a random question:
In simple terms I have a find command on a dir:
/path/user/data/
/path/user is a link to:
/tmp/storage/
The find command outputs the files it finds as:
/path/user/data/file
What I need is:
/tmp/storage/file
Is there a way to "resolve" the Unix... (5 Replies)
why is this giving me errors?
i type this in: find / -name "something.txt" 2>/dev/null
i get the following error messages:
find: bad option 2
find: path-list predicate-list
:confused: (5 Replies)
Hi,
We have a shell script which looks into a directroy for any folder older than 30 days and removes them. The command being used is
find $ARCHIVE_DIR -type d -mtime +$PURGE_HIST_DAYS -exec rm -rf {} \;
It removes some folders but then throw below errors for others:
find:... (2 Replies)