Symbolic links for bash and sh

Gerard Beekmans gerard at linuxfromscratch.org
Wed Sep 11 20:14:37 PDT 2002


On September 1, 2002 08:29 am, Chris Lingard wrote:
> ln -s  /static/bin/bash  bash
> ln -s bash  sh
>
> This seems more logical, and there is no need to delete anything
> later, and both sh and bash are correct.    The dynamic bash will
> replace the symbolic link, and everything is set up.

I assume you tested that the bash installation actually removes the symlink 
before copying the bash binary over instead of copying it 'to' the symlink in 
which case it'll end up as /static/bin/bash

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list