Which of the following commands does NOT correctly list the files named chap01, chap02, and chap04?

Choose the correct answer

Explanation

Option B, 'ls chap[124]', does not list the files chap01, chap02, and chap04 because it matches filenames with 'chap' followed by a single character that is either 1, 2, or 4, missing the '0' before the digit. The other commands correctly target the files with the 'chap0' prefix followed by 1, 2, or 4.

Which of the following commands does NOT correctly l… — Basic of linux unix | PakQuizHub