how to delete all c++ executables? linux?

after compiling a file1.cpp, I get an executable file1.

My directory is filling up with lots of these executables and I don't need them.. is there any way I can mass delete them because I see no file extension?

eg to delete all text files we write rm *.txt, is there any similar method?

thanks.

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.