Installing Coreutils-5.0

Duarte Cordeiro Duarte.Cordeiro at netcabo.pt
Tue Jan 13 11:16:58 PST 2004



> -----Original Message-----
> From: lfs-support-bounces at linuxfromscratch.org 
> [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Shelton
> Sent: Tuesday, January 13, 2004 4:54 PM
> To: LFS Support List
> Subject: Installing Coreutils-5.0
> 
> 
> my lfs system is up and running and all seems well.
> But I just remembered something that I meant to ask about.
> 
> When installing Coreutils, one of the last steps is to 
> create the following (IMO) odd symlink...
> 
> 	ln -s test /bin/[
> 
> Could someone please explain why this is necessary?
> thanks

man test:
SYNOPSIS
       test EXPRESSION
       [ EXPRESSION ]
       test OPTION

As in:
 if [ -f file]

That is equal to:
 if test -f file

It's a "shotcut" very used in shell scripting.





More information about the lfs-support mailing list