Question

Every time I start terminal I get the follow error: -bash: [-f: command not found

So far it has had no negative impact but I would like to

A. Remove it

B. Figure out why it popped up recently

Was it helpful?

Solution

It's likely in either your .bash_profile, .profile, or .bashrc (or a file called from one of them) file and it is occurring because there is no space between the [ and the -f.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top