Linux CLI - File and Directory Operations
What will happen when you execute
rm -i fileA.txt fileB.txt if fileA.txt exists but fileB.txt does not?rm -i fileA.txt fileB.txt if fileA.txt exists but fileB.txt does not?rm -i-i option prompts before deleting each existing file.rm will display an error message for that file.fileA.txt exists, it will prompt for deletion. For fileB.txt, it will show an error as it does not exist.fileA.txt deletion, then error for fileB.txt -> Option D-i prompts only for existing files; errors shown for missing files [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions