how to delet file comand promt linux

C++
rm <file> .. rm -r <file> .. r stands for recursive #how to remove Files in Linux
rm filename
Source

Also in C++: