Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I could do this on my own if I was in the /sbin directory, but I cant seem to figure out how to do this form the parent directory.

share|improve this question
1  
Try this: ls -ld az* –  user223882 Apr 19 at 22:33

1 Answer 1

up vote -1 down vote accepted

This should do:

ls /sbin | grep '^az.*'

share|improve this answer
    
Thank you, I was confused on how to combine ls and grep, or if you even need to. :) –  user271199 Apr 19 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.