I tried to set an environment variable for the Sublist3r
tool and messed up. Now whenever I switch to the root
user (with sudo su
) the only command I am able to use is exit
(attaching the images).
I tried to edit /root/.bashrc
but it seems to be fine on non-root user account. I also checked the PATH
on root account which it is showing as 'sublister-1'. How can I edit /root/.bashrc
?