The exhibit shows a listing of Jane’s home directory. Jane wants to delete the directory dir1.
Choose the command that would remove only the dir1 directory.
A.
rm ./widgets/*
B.
rm ./widgets/dir1
C.
rm -r ./widgets
D.
rmdir ./widgets/dir1
Explanation: