How do i read a file permission?
i know that ls -l *filename* will list all information about the file including file permissions eg -rwxr-xr-x 1 norman.thai users 187 Jan 15 10:33 firstline...
how do i read just the file permission tho to use be used as a variable...
-rwxr-xr-x
i also understand that the file permissions can be read as binary 000 000 000...
i know that ls -l *filename* will list all information about the file including file permissions eg -rwxr-xr-x 1 norman.thai users 187 Jan 15 10:33 firstline...
how do i read just the file permission tho to use be used as a variable...
-rwxr-xr-x
i also understand that the file permissions can be read as binary 000 000 000...
Comment