Multiple choice technology programming languages

Which function can be used to return such information about a file as its UID, GID, CTIME, etc.?

  1. file

  2. stat

  3. info

  4. mode

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

In Perl, the stat function returns a 13-element list giving status information about a file, including its device, inode, mode, number of links, UID, GID, size, access time, modification time, and change time (ctime).