So when I do edit profile code, it's a different profile. The original one is indeed intact; at least I can open it from the text editor. But how can I reopen the original (proper) profile? Every time I try
sudo gedit etc/profile
It brings up a NEW, blank profile. Did I add those Java/Hadoop paths to the right profile in the first place?