Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to Ubuntu, and I'm having trouble with the terminal application. Every time I open it this message appears:

"bash: /home/xxxxx/.bashrc: line 1: syntax error near unexpected token `('
bash: /home/xxxxx/.bashrc: line 1: `source QSTK/local.sh# ~/.bashrc: executed by bash(1) for non-login shells.'"

How can I remove or delete it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Open your favorite editor, for example gedit (Super key gedit Enter). Then open /home/xxxxx/.bashrc using the File menu. Delete that first line. Save the file. Now, start up a new terminal window and see if the problem is gone.

share|improve this answer
    
Thanx a ton Gary. –  Raju Nov 29 '12 at 7:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.