A file named "["?

Antonio Olivares olivares14031 at yahoo.com
Tue Jun 5 19:10:03 UTC 2012


> > It's used in shell scripts, such as an "if" statement,
> such as "if [
> > $? -eq 0 ]". Bash actually runs that command.
> 
> Not Bash.
> 
> $ type [
> [ is a shell builtin
> 
> Also see "man [".
> 
> -- 

I had seen this and thought I created it with a redirection to it like 
file > [ by mistake
so I nuked it :( but it was not in /usr/bin/ or in /bin(as in Fedora 17) so that makes me feel better :)  It was in Documents folder, so all is well.  

Regards,


Antonio 


More information about the users mailing list