How to identify if a directory is created by Linux system and by user like root. Example:
in /etc
there is a directory named sys
which is created by Linux. And I logged in using root and created the directory sys1. then how can I differentiate them?
Example : var is a system created directory where as test is a user created with user root.
drwxrwxrwx 34 root root 4096 Aug 25 22:52 var
drwxr-xr-x 2 root root 4096 Aug 25 23:19 test
ls -l
(little L) will show the account and group owners.drwxrwxrwx 34 root root 4096 Aug 25 22:52 var drwxr-xr-x 2 root root 4096 Aug 25 23:19 test