I messed up when installing Cisco Packet Tracer for Linux and it some how changed a few bash files. After a few hours of looking around and changing my PATH
, when I open a new Terminal window I get a message of every PATH
that I've had (I think).
Last login: Wed Apr 10 14:38:52 on ttys000
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"; export PATH;
I have tried to reset my PATH
without any luck. The same message appears. It is as if it executes it at every new session.
Which file am I suppose to change to make it work?
EDIT:
when I run as suggested: grep PATH ~/.bash_profile ~/.bash_login
grep PATH ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc /etc/motd
– fd0 Apr 10 '19 at 14:25