source .bashrc doesn't work

0

I installed TinyOS on RedHat for my academic purposes. Now I can't log in to the system. I logged in in single user mode.

Then I tried to log in. I couldn't login in as any user. I couldn't start the X server manually (the system doesn't start the X server when it boots up).

Then I execute these commands

sh# hostname 

(none)

sh# source .bashrc

bash-: gives a path relevant to TinyOS and says unable to find it

actually there is no such a file.

How can I solve this?

sura2k

Posted 2011-12-01T07:00:28.327

Reputation: 111

Answers

0

On some systems .bash_rc is replaced by .profile . I don't know wether it's true for your system.

Chris

Posted 2011-12-01T07:00:28.327

Reputation: 1

0

I have TinyOS installed too and I put the call to the initialization script in the /etc/profile and all work well.

LoSciamano

Posted 2011-12-01T07:00:28.327

Reputation: 301