I'm trying to write a regular expression to match Unix file permissions returned by ls -l command. Here I found that all possible letters for the first field are d,c,l,p,s,b,D. Now, what are all possible letters for the remaining fields? This is how my regex looks so far:/[-dclpsbD][-rwx]{9}/
What are all possible letters for Unix file permissions?
permissions;ls