Hi
I have the following script :
#!/bin/ksh
#################### Function macAddressFinder ########################
macAddressFinder()
{
`ifconfig -a > ipInterfaces`
`cat ipInterfaces`
}
#######################################################################
#
#
print -n "Server name is: "
read ServerName
ssh $LOGNAME@$ServerName "$(macAddressFinder)"
exit
When I execute this script I receive output from function macAddressFinder only from the machine where I executed this script. It doesn't give me back data from remote machine.