DEVFYI - Developer Resource - FYI

What is the use of the command "ls -x chapter[1-5]"

Unix Interview Questions


(Continued from previous question...)

92. What is the use of the command "ls -x chapter[1-5]"

ls stands for list; so it displays the list of the files that starts with 'chapter' with suffix '1' to '5', chapter1, chapter2, and so on.

(Continued on next question...)

Other Interview Questions