Back
Use this command:
rm -f XYZ/*
To delete also subdirectories, use:
rm -fr XYZ/*
If you want to delete the directory, then use
rm -fr XYZ
To know about Linux join the Linux training
31k questions
32.8k answers
501 comments
693 users