bash: alias: VARIABLES: not found: #HADOOP VARIABLES START
5 Answer(s)
Hi Eva,
Your bashrc file has some issue. While editing the bashrc you made some changes in available text.
Check the last line, before the hadoop variables. Or you can share your bashrc with us.
Hope this helps.
Thanks.
Please see the attached screens from my bashrc
The last line before the hadoop variables is fi
Is there a way to change it to file and edit it again or do I need to delete the VM and start over.
Oct 29 2016 07:12 AM
Line number 87 is fi as well. See attachment. Thanks.
hadoop@hadoop-virtual-machine:~$ exec bash
Shopt: command not found
bash: alias: VARIABLES: not found
bash: alias: START: not found
bash: /home/hadoop/.bashrc: line 87: syntax error near unexpected token `fi'
bash: /home/hadoop/.bashrc: line 87: `fi'
hadoop@hadoop-virtual-machine:~$
Oct 29 2016 07:17 AM
-
Backup your current
.bashrc
file:cp ~/.bashrc ~/.bashrc.bak
-
Copy the skeleton
.bashrc
file over yours:cp /etc/skel/.bashrc ~/
-
Afterwards, load the new one:
source ~/.bashrc