On Oct 21, 4:40 am, [EMAIL PROTECTED] (John W. Krahn) wrote:
> Ariel Casas wrote:
> > Hello all,
>
> Hello,
>
>
>
> > Any time I run a unix command where I initiate a variable > use the
> > variable as an arg in the unix command > pipe it to another unix
> > command, I get an error. This is the er
On Oct 21, 8:27 pm, [EMAIL PROTECTED] (Juan Pablo Feria Gomez) wrote:
> > use strict;
> > use warnings;
> > use Expect;
> > use IO::Tty;
>
> > $host = "192.168.1.72";
> > $passwd= "xyz";
> > $user = "xyz";
>
> > $t= "file.txt";
> > my $connect = Expect->spawn("scp $t [EMAIL PROTECTED]:/work/$user/"
Hi,
I am using Perl on Linux server. I m writing a code which will tell
us the Linux distro with version. For this the command is
cat /etc/issue
which is common for all the distributions of linux. But the output
varies for different distributions.
For e.g.
SUSE
Welcome to openSUSE 11.0 (X86-6