| |
GeekInterview.com > Interview Questions > Operating System > Unix Commands
| Print | |
Question: What is the use of the command "ls -x chapter[1-5]"?
Answer: 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. |
| May 05, 2006 13:07:34 |
#1 |
| MJ |
Member Since: Visitor Total Comments: N/A |
RE: What is the use of the command "ls -x chapter[1-5]... |
| Yes you are correct. It stands for listing the files Chapter with suffix 1 to 5 but it will display the files in columns as with-x option. |
| |
Back To Question | |