ExamVeda
Login
Home
This question belongs to Computer Science Unix
Unix
?

Which of the following commands is used to obtain a list of all files by modification time?

Answer & Solution
Correct Answer: Option B
In Unix, the ls command is used to list directory contents. The -t option with ls is used to sort files by modification time, showing the most recently modified files first.
So, ls -t is the command used to obtain a list of all files sorted by modification time.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.