The commands you specified will **delete the files permanently**, that is, they won't be recoverable from the trash bin.

To send files to the trash bin from the terminal use a command line tool called [trash][1]. 
You can install it with [brew][2] as follows:

`brew install trash`


  [1]: https://hasseg.org/trash/
  [2]: https://brew.sh