LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   A quick q: how to view chmod stuff? (https://www.linuxquestions.org/questions/linux-general-1/a-quick-q-how-to-view-chmod-stuff-173620/)

orange400 04-23-2004 04:11 AM

A quick q: how to view chmod stuff?
 
Sure I can chmod xxx to give a file or folder attributes, but what about doing it in reverse - just viewing the attributes?

Technoslave 04-23-2004 04:26 AM

ls -l ( that's a lower case L )

This will give you something along the lines of:

-rwxr-xr-x

Which is read/write/execute. They correspond to the values 4/2/1. So, in order to make the above come true, you'd issue the command chmod 755.

orange400 04-23-2004 05:44 AM

beautiful, thanks!


All times are GMT -5. The time now is 07:53 AM.