DEV Community

Discussion on: Bitmasks: A very esoteric (and impractical) way of managing booleans

Collapse
 
somedood profile image
Basti Ortiz

I was supposed to include an example on complex conditions in the article, but then I thought that it was probably getting too long already. Thanks for bringing this up!

Also, may I ask what the xs stand for in rwxr-xr-x?

Collapse
 
moopet profile image
Ben Sinclair

They're the execute bits - if it's a file, you can run it as a command, if it's a directory, you can cd into it.