Help for this page

Select Code to Download


  1. or download this
    $SYS_NAME=`uname -s`;
    if ($SYS_NAME =~ "AIX") {
    ...
       `/usr/bin/df -k | /usr/bin/sort +6 >$FILE`;
    }
    # ...
    
  2. or download this
    my @df_stdout;
    if ($^O =~ /aix/i) {
    ...
    for (@df_stdout) {
       # Put your while loop body here...
    }
    
  3. or download this
    for (@df_stdout) {
    
  4. or download this
    for my $line (@df_stdout) {