On Monday 10 September 2007 11:44:24 Didier Wiroth wrote:
> Hello,
> When I do my own release I noticed that a file called [ is created in the
> /bin directory: Here is an "ls -la" of /bin, see the first file:
> $ ll /bin/
> total 16080
> drwxr-xr-x   2 root  wheel   1.0K May 18 16:33 .
> drwxr-xr-x  14 root  wheel   512B May 18 17:00 ..
> -r-xr-xr-x   2 root  bin    89.8K May 18 16:33 [

This file is a hardlink.

$ man [
TEST(1)                    OpenBSD Reference Manual                    TEST(1)

NAME
     test - condition evaluation utility

SYNOPSIS
     test expression
     [ expression ]

......

$ ls -il /bin/\[ /bin/test
1869 -r-xr-xr-x  2 root  bin  79136 Aug 23 18:10 /bin/[
1869 -r-xr-xr-x  2 root  bin  79136 Aug 23 18:10 /bin/test

-> see, same inode

-- 
Antoine

Reply via email to