If I run the following command remotely after ssh than it works fine
su - oracle -c "/oracle/product/102/db/bin/dbshut"
But If I run the following command it doesn't work
su - oracle -c "/oracle/product/102/db/bin/lsnrctl stop"
Because I think there is a space is present between lsnrctl and stop..So how to avoid that space
But if we run lsnrctl stop in that sever it works fine..Here lsnrctl is a script available and stop is the argument we are passing
Please suggest