0

I have trouble interpreting the following output from /var/log. Both lines show the same result but of different date? What does this mean?

Currently doing an audit to ensure that the directories are as restrictive as possible.

/var/log:
total 412234
drwxr-xr-x. 14 root root                    4096 Aug 25 04:02 .
drwxr-xr-x. 25 root root                    4096 Sep 16  2018 ..
1
drwxr-xr-x. 14 root root         4096 Aug 25 04:02 .
drwxr-xr-x. 25 root root         4096 Sep 16  2018 ..

The two records above are:

  • one is . the current directory /var/log

  • The other .. is the parent directory. In this case .. will be the parent directory of /var/log which is /var.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.