Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    my $h="testapp01";
    ...
    # Use this to actually do the remote execution:
    open $remote, "| ssh -q $uid\@$h";
    print { $remote } join "\n", @commands;
    
  2. or download this
     Pseudo-terminal will not be allocated because stdin is not a terminal
    +.
    mv: cannot stat `\\/home\\/wasbatsrv\\/tmp\\/testbak\\\n': No such fil
    +e or directory
    ...
    mv: cannot stat `\\/home\\/wasbatsrv\\/tmp\\/testbak\\/testbakr\\/four
    +\\.properties\\\n': No such file or directory
    mv: cannot stat `\\/home\\/wasbatsrv\\/tmp\\/testbak\\/two\\.propertie
    +s\\\n': No such file or directory
    mv: cannot stat `\\/home\\/wasbatsrv\\/tmp\\/testbak\\/one\\.propertie
    +s\\\n': No such file or directory
    
  3. or download this
    [wasbatsrv@testapp01 testbak]$ ls
    one.properties  testbakr  two.properties