linux command to delete a file in directory code example Example: how to remove file from directory in linux rm /home/harry/ascii.txt