Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solve] strange "[" file in /usr/bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
loux.thefuture
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 135

PostPosted: Wed May 24, 2006 7:18 am    Post subject: [solve] strange "[" file in /usr/bin Reply with quote

Hello,
i discover that i have a file "/usr/bin/[" on my system :
ldd /usr/bin/[:
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e11000)
/lib/ld-linux.so.2 (0xb7f49000)
file /usr/bin/[:
/usr/bin/[: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped
could anyone tell me what this file is ?
thanks
loux
PS : i search on the gentoo forum but the name of the file "/usr/bin/[" is replaced by "bin" during the search so i found nothing on it
_________________
"So long and thanks for all the fishs !"


Last edited by loux.thefuture on Wed May 24, 2006 7:41 am; edited 1 time in total
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 631

PostPosted: Wed May 24, 2006 7:34 am    Post subject: Reply with quote

This is the test operator, as in
Code:
~# [ -d "$HOME" ] && echo "Congratulations. You have a home directory..."

It belongs to the 'coreutils' package; nothing strange, that is.
Back to top
View user's profile Send private message
loux.thefuture
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 135

PostPosted: Wed May 24, 2006 7:41 am    Post subject: Reply with quote

ok thanks for the answer
i could sleep on my two ears tonight :)
loux
_________________
"So long and thanks for all the fishs !"
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Wed May 24, 2006 2:03 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads, please see this topic: Funny [ file in my /bin directory.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum