Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NET::Telnet

Status
Not open for further replies.

archit

Programmer
Aug 22, 2002
19
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top