Help for this page

Select Code to Download


  1. or download this
    # exec 3< /etc/passwd
    # grep root /proc/self/fd/3
    root:x:0:0:root:/root:/bin/bash
    
  2. or download this
    open(my $in, '/etc/passwd');
    
    ...
    }
    
    close($in);