I tried connecting to remote host db using :
sqlplus abc/abc@hostname1:1000/ABC
And tried printing
!hostname
it still shows me local hostname from which I am running and not HOSTNAME1.
So if I want statistics or run a script on that remote host .. Would it not do that.. i.e. Do I actually get data from remote host?
Is it bcoz !hostname is not a linux command and not a DB command?