Unknown binary file
Hi all, As I was looking through my /usr/bin directory I came across a binary file "[". What is this? I am running Suse 9.3. Thanks, Mike
On 11/25/05, Michael Long <mlong@datalong.com> wrote:
As I was looking through my /usr/bin directory I came across a binary file "[". What is this? I am running Suse 9.3.
# rpm -qf /usr/bin/[ coreutils-5.3.0-10 I believe this is the equivalent of the 'test' command that you use as part of shell scripting. i.e.: if [ "$flying_pigs" = "yes" ]; then echo "I'm dreaming" fi BR
# rpm -qf /usr/bin/[ coreutils-5.3.0-10
I believe this is the equivalent of the 'test' command that you use as part of shell scripting. i.e.:
if [ "$flying_pigs" = "yes" ]; then echo "I'm dreaming" fi
Thanks, I will remember the rpm -qf <file_name> from now on.
Hello Mike, My understanding is that it is a hard link to the 'test' binary for use in shell scripts: if [ -f /etc/group ] ; then .... -Adam On Nov 25, 2005, at 10:48 AM, Michael Long wrote:
Hi all,
As I was looking through my /usr/bin directory I came across a binary file "[". What is this? I am running Suse 9.3.
Thanks, Mike _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (3)
-
Adam Keck
-
Brett Russ
-
Michael Long