linux remove directory recursively without prompt code example Example: how to delete files in linux rm <file> .. rm -r <file> .. r stands for recursive