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