linux remove file and folders in dir code example Example: how to remove file from directory in linux rm /home/harry/ascii.txt