Hi All,
I am trying to run this
( echo 'alias ts="cd `cat /etc/traffic_server`";export ts' >>file1 )
command using the NET::Telnet cmd method.
$t->cmd(String=>'echo 'alias ts="cd `cat /etc/traffic_server`";export ts' >>file1');
It is giving me errors . Any idea how to do it?
Thanks in advance.
Vikul
I am trying to run this
( echo 'alias ts="cd `cat /etc/traffic_server`";export ts' >>file1 )
command using the NET::Telnet cmd method.
$t->cmd(String=>'echo 'alias ts="cd `cat /etc/traffic_server`";export ts' >>file1');
It is giving me errors . Any idea how to do it?
Thanks in advance.
Vikul