Startec
Startec

Reputation: 13206

Mac OS X Terminal Error -bash: [-f: command not found

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

Upvotes: 1

Views: 1266

Answers (1)

Chris Thompson
Chris Thompson

Reputation: 35598

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.

Upvotes: 4

Related Questions