rm a file in linux code example Example: how to delete files in linux rm <file> .. rm -r <file> .. r stands for recursive