Some error happened in bashrc file unknowingly and cannot use ros command in terminal

some error happened in bashrc file unknowingly and cannot use ros command in terminal
my terminal is showing this
bash: /home/user/.bashrc: line 1: syntax error near unexpected token (' bash: /home/user/.bashrc: line 1: mk# ~/.bashrc: executed by bash(1) for non-login shells.’
user@1_xterm:~$

Hi @Divya1805,

I suppose the error has been solved, right?

If so, could you tell us which steps did you take to solve it?

Hi ralves
I edited the .bashrc file using vim and removed “mk” from the line 1.

1 Like

Thanks @Divya1805,

Yes, I suppose this mk “command” was mistakenly added to the .bashrc.

I’m happy you managed to solve it yourself.

#KeepPushingYourROSLearning.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.