RE: about running unix command in perl script
- From: jose.pinto@xxxxxxxxxx (José Pedro Silva Pinto)
- Date: Fri, 28 Oct 2005 11:55:28 +0100
Yes
Example:
system("ftp ftp.rcsb.org ; /pub/pdb/data/structures/divided/pdb/ ; cd nx ; get pdb1nxc.ent.Z ");
By
José Pinto
-----Original Message-----
From: ZHAO, BING [mailto:littleshrimp@xxxxxxxxxxxx]
Sent: sexta-feira, 28 de Outubro de 2005 11:37
Cc: beginners@xxxxxxxx
Subject: about running unix command in perl script
Hi,
Is there a way to run unix command in perl?
To be specific, for the ftp command:
1.ftp ftp.rcsb.org
2.cd /pub/pdb/data/structures/divided/pdb/
3.cd nx
4.get pdb1nxc.ent.Z
5.bye
I need to automate this process to ftp get the file pdb1nxc.ent.Z.
thank you.
bing
--
To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
<http://learn.perl.org/> <http://learn.perl.org/first-response>
.
- Prev by Date: Re: help slurping a file
- Next by Date: Re: about man page
- Previous by thread: Re: How to put brackets in a string given substrings
- Next by thread: search and replace in html text
- Index(es):