command line – Deleted files by mistake , apps doesn’t open from terminal

Ubuntu 20.04

I deleted alot of files by mistake , after deletion , the background is changed , some user specified settings were set to it’s default , i cannot open any application from terminal , but the application folder are still available .
like anaconda ,
i type anacodna-navigator in terminal and the app isn’t found , given that it’s folder isn’t deleted