Multiple choice technology operating systems

What are the file attributes for executing Perl programs?

  1. 666

  2. 755

  3. 766

  4. 777

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Perl programs need execute permission to run directly. The 755 octal notation means: owner can read, write, execute (7); group can read and execute (5); others can read and execute (5). This is the standard permission for executable scripts, while 666 only allows read/write with no execute capability.