sudo with rm file-delete commands can hose your entire user environment, should any mistakes be made.
Easier to use the free version of MalwareBytes to remove this dreck.
If you want to pursue this here and manually (as the names and tools will vary within and across different versions of malware), download EtreCheck, enable full device access for, and then run it. Open a new reply here and then press the button that looks like a printed page to get a text input box big enough to paste the hardware and software configuration report here.
Then get a complete backup, as mistakes with removal can corrupt the system, and can corrupt or can delete your files.