How to view files, created by Linux and programs in /tmp directory?
The file names are hidden, command ls -al /tmp
only show the presence of files not their names.
Edit: I find that place in saved session logs:
# ls -al /tmp
drwxrwxrwt 2 0 0 40 Jan 1 00:00 .
drwxr-xr-x 19 1005 1005 219 Aug 2 2017 ..
# grep -r config /tmp
# grep -r bin /tmp
# umount /mnt
# ls -l
----
drwxrwxrwt 2 0 0 40 Jan 1 00:00 tmp
---
Third line show that /tmp directory have 19 files(?), but I don't see it. Or I have missed something?
ls -al
. Please add the complete output of that command to your question, best including the command itself; use copy&paste and format it as code for better readability. – Murphy Dec 27 '17 at 12:14..
, the parent directory. So what else can you expect? – Weijun Zhou Dec 27 '17 at 21:55root
, allright, but/
belonging to user 1005, which in most cases is a manually created user, is rather unusual; it should belong toroot
, too. Additionally the UIDs aren't resolved to user names, what I would have expected. – Murphy Dec 27 '17 at 22:10/tmp
dir seems fine, but empty, but I can't say anything about the rest of the system; it may be a normal state for your system or not. – Murphy Dec 27 '17 at 22:19/
, has 17 subdirectories. That's how you get a link count of 19 for/tmp/..
. – Kusalananda Jul 21 '18 at 16:53