Quote:
Originally Posted by
mcagaurav
as oracle user I say:
which rsync
o/p:
/bin/rsync
You can use the "which"-command as any user, not just as oracle. ;-))
"which" is correct and its output means that there is a command named "rsync" located at "/bin/rsync".
A small side remark: note, that "which" just searches through the contents of your PATH-variable. If it doesn't find a specific binary that doesn't mean it isn't there but that it is not found in any of the directories mentioned in the PATH-variable. This is why using "rpm -qa | grep <yourcommand>" is a somewhat more reliable method of finding out if it is installed or not.
I once used rsync in an AIX 5.1 environment and had troubles with it. (The rsync job would tear down the inetd and every other network daemon with it sometimes, resulting in an "autistic" system that could only be revived by a reboot.) Probably my experiences will not apply to the situation today, but a bit caution would be in order. Not that my problem only happened after some bigger amount of data had been transferred and not every time we started "rsync". We never found out what exactly the problem was and ultimately gave up "rsync" altogether.
I hope this helps.
bakunin