I can see an individual file’s permissions with ls -l.
In the case where there are hundreds or thousands of files in a directory – most of which I can’t read, how do I check which files I have permission to read?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try that :
See
help testYou can also do (
bash test) :See
man bash | less +/'\[\[ expression'Or with
POSIX shell:See
help [Finally
&&is a shortcut (boolean AND) forif condition; then action; fi