How can I quit Terminal after deleting files?

Yes, thank you, I wrote it as you suggest, yesterday. I appreciate the help and advice.