CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS OPERATING SYSTEMS UNIX COMMANDS DETAILS
Question :
What is the use of the command "ls -x chapter[1-5]"
Category Unix Commands Interview Questions
Rating (2.0) By 3 users
Added on 10/25/2004
Views 2929
Rate it!
Answers:

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.



To add something to above answer,

ls -x chapter[1-5]

it will show all the files with chapter1, chapter2 and so on but only with execute permission.



 Posted by: anshuman    

Contact anshuman  Contact anshuman

same answer but -x option will display the chapter1 to chapter5 files in columns.



 Posted by: anshuman    

Contact anshuman  Contact anshuman


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
Is it possible to restrict incoming message?
View Answer
Is it possible to create new a file system in UNIX?
View Answer
What will the following command do?
View Answer
Write a command to display a file?s contents in various formats?
View Answer
Which command is used to delete all files in the current directory and all its sub-directories?
View Answer
Write a command to kill the last background job?
View Answer
What is the difference between cat and more command?
View Answer
What is the use of ?grep? command?
View Answer
What difference between cmp and diff commands?
View Answer
Explain the steps that a shell follows while processing a command.
View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL Unix Commands Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/2014/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.62