Answer the question
In order to leave comments, you need to log in
How to get octal/character form of permissions?
Hello!
There is a task:
Write an ls2oct function that translates a set of permissions from the character form output from the ls -l command (for example, "rwxr-xr--") to the equivalent octal value. Then write the inverse function oct2ls.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question