[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ in /usr/bin Question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/09/07 08:12, Joe Hart wrote:
> Tom Grove wrote:
>> Hello all...I am new to this Debian thing :-)  I used it in the Woody
>> days but moved over to the FreeBSD world for the last few years.  I
>> recently installed Testing (Lenny) and see the left bracket in my
>> /usr/bin directory and do not know what it is.  When I ls -al it I get:
> 
>> -rwxr-xr-x 1 root root 24752 2007-01-30 13:51 /usr/bin/[
> 
>> This leads me to believe that it was installed with the base system or
>> some package because I just installed the system earlier this week.  Any
>> help is much appreciated.  Thanks.
> 
> I also have this file, and when I type man [, the manual for test shows
> up.  Now why this is I have no idea.  If I try the command (since it is
> executable) I get :  bash: [: missing `]'
> 
> This is beyond my comprehension.

Try:
  $ man \[

Remember that the backslash "escapes" whatever character comes next,
making the program that is reading the data interpret it literally
instead of as a special character.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGQdFfS9HxQb37XmcRAumLAKCAO2AVC1ZsnffX5uRR1QH4wGp1qgCgq0pL
jbkIQOVMLbqJBFMbXvQdlbA=
=EOua
-----END PGP SIGNATURE-----



Reply to: