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
30.9k questions
32.9k answers
500 comments
665 users