Linux CLI - File and Directory Operations
You want to remove a directory
logs but only if it is empty. Which command is best?logs but only if it is empty. Which command is best?rmdir removes directories only if they are empty.rm -r and rm -rf remove directories regardless of contents. rm logs removes files, not directories.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions