/bin folder from computer in Ubuntu with
How can recover it ?
Reinstall your system from a live session. Mount the partitions without formatting them;that will preserve your setting and files.
Mind though that it is wise to create a backup of your personal files from the live session before doing this.
And stop using "rm" in combination with "sudo" or a root session and evaluate why you feel the need. There should not be a reason to remove any file in the base of the system. If you installed software in the base system don't do that (use /opt/) or use the correct tool to remove them (like apt purge or apt remove).