The rm command removes files, it DOES NOT send files to trash it eliminates them.
If the file to remove (say file.xxx) is in the current folder, just type
$ rm file.xxx
if you’d like to erase all JPG files in the current folder, use
$ rm *.jpg
NOTE that the terminal distinguishes capital letters, so if they are called with capital extension, you should change the above to *.JPG
An interesting option is -i (interactive). If you’d like to erase some of the JPG files, the interactive mode will ask you file by file whether you want to erase it (y) or not (n)
$ rm -i *.jpg
You can erase files in other directories by giving the whole path to the file(s),
$ rm /home/visita/Documents/*.pdf
(this will erase all PDF files in the Document folder of visita user, only if you got the right permissions to do it!).
You might also want to remove directories (not empty ones), say Stuff/, in order to achieve the task use the -r option,
$ rm -r ~/Stuff
in the above example the tilde means `the current user home’ (/home/visita/ in the previous example)
For more information check the manual pages
$ man rm