Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    use IPC::System::Simple qw(capture);
    
    my @output = capture("ls", "/root/Desktop");
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    my @output = capture("ls", "/root/Desktop");
    print @output, "\n";