There is now way to select entities from command line.
How do you think should this work? Do you know coordinates of all entities?
You can either select entities first, using the mouse and then type
del or simply press the Del key.
Or type
del first and then select one or more entities using the mouse. To finish the command press Enter to delete all selected entities.
investing less than half an hour into Search function can save hours or days of waiting for a solution