Install fails (bash ee)

I have been successfully using EE for sometime now. Recently had an issue with my server had to rebuild everything, however on installing EE by wget -qO ee && sudo bash ee nothing happens. I attempted to try wget and it seems to work although I cannot execute ‘ee’ by bash.

~# wget -qO ee && sudo bash ee