![]() You can find the complete list of file types in the ls documentation those you’re likely to come across are It can’t be set or unset, it depends on how the file was created. The first character in ls -l output represents the file type d means it’s a directory. I’ll answer your questions in three parts: file types, permissions, and use cases for the various forms of chmod. In UNIX based system such as all Linux distributions, concerning the permissions, what does the first part ( d) stand for and what's the use for this part of the permissions? Why do people sometimes use 0777 instead of 777 to set their permissions?īut as I shouldn't be asking multiple questions, I'll try to ask it in one question.What's the name and use of the containing slot and what other values can it hold?.What does the d at the start stand for?.I created a directory to test my newly acquired knowledge: mkdir testĪfter fooling around for some time I think I finally got the hang of chmod and the way you set permission using this command. I've also learned that you've got the following permissions: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |