Print the first non-empty directory name in reverse order found in the /tmp directory using the ls, rev, cut, grep, head, and xargs commands.
ls -ltr $(find / -type d -name 'tmp') | rev | cut -d'/' -f1 | grep '\S' | head -n1 | xargs printf "%q\n"