Multiple choice technology operating systems

How will you get the file status of a file?

  1. All the above

  2. cat meminfo

  3. file <filename>

  4. stat <filename>

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

The 'stat' command displays detailed file status information including permissions, size, ownership, timestamps, and inode details. 'cat meminfo' would display memory info, not file status. 'file ' shows file type, not comprehensive status. 'All the above' is incorrect since only one option is correct.