I changed my PATH environment variables when i was trying to install Java on my pc, then i tried restoring the old PATH by completely uninstalling java from my pc which caused google-chrome to stop working. I tried doing some exports in order to remedy the situation to no avail. Nothing happens when i click the google-chrome icon and i get the following errors when i try launching chrome from the terminal with google-chrome
command
/usr/bin/google-chrome: line 8: readlink: command not found
/usr/bin/google-chrome: line 24: mkdir: command not found
/usr/bin/google-chrome: line 45: exec: cat: not found
/usr/bin/google-chrome: line 46: exec: cat: not found
The result of echo $PATH
is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin/usr/games:/usr/local/games:/snap/bin
Please help. I use Ubuntu 18.04