Viewing: shell

Find the oldest file in Unix or Linux file system

So I wanted to know the oldest file on my Debian Linux box. find / -type f -printf '%T+ %p\n' | sort | head -n 1 Here is an another example for /etc/ find /etc/ -type f -printf '%T+ %p\n' | sort | head -n 10 So find command finds all files in / and […] Read More