Linux CLI - Searching and Finding
What will be the output of this command?
find /var/log -type f -name '*.log' -exec basename {} \;find /var/log -type f -name '*.log' -exec basename {} \;find searches for files ending with .log in /var/log. -exec basename {} runs basename on each file, printing only the file name.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions