looking for files modified some time back in a dir and its subdir

$ find . -type f -print0 | xargs -0 stat -c’%Y :%y %12s %n’ | sort -nr | cut -d: -f2- | head

Will go through all the files in the directory specified, uses `stat` to print out last modification time, then sorts numerically in reverse, then uses cut to remove the modified epoch timestamp and finally head to only output the last 10 modified files.

Mac addresses Linux

This is how we can get the mac addresses of all the interfaces on the system.

$ /sbin/lspci -v | grep -i “Device Serial Number”