Multiple choice linux

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

In Unix-like systems, file permissions are represented by three digits (Owner, Group, Others). 755 grants the owner read, write, and execute permissions (7), while giving the group and others only read and execute permissions (5), which is standard for executable scripts like Perl.