Try
grep Source ./.bashrc
I bet your .bashrc is trying to execute a line you accidentally removed the
# sign from.
On Wed, Apr 19, 2000 at 08:28:42PM -0500, Michael Phillips wrote:
> Weird problem that I hope someone else has seen before. A company I used to work for had a crash with their firewall today. I had someone with somewhat of a clue get a new hard drive installed and loaded with RH 6.1 to the point where it boots and I can now SSH into the box and finish it up.
>
> When logging in, I get the following:
>
> No mail.
> bash: Source: command not found
> [root@machine /root]#
>
> If I execute 'bash' by itself, I get the same result and a shell is NOT spawned.Thinking that perhaps bash was corrupted, I re-installed the appropriate .RPM's from the distro cd.
>
> Performing a '. .bashrc' or '. ./.bashrc' gives the same results.
>
> Performing a /bin/sh gives no error message until executing the .bashrc. It does, however, actually spawn a shell. /bin/sh is symbolicly linked to /bin/bash.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.