symlinking /bin/sh to bash question
I am trying to ensure this situation:
Quote:
Code:
david@DavidLee1A:~$ ln -s /bin/bash /bin/sh To be honest I don't exactly understand the point of this (something to do with how scripts execute in each shell?) and never really think about inodes. Maybe this will give additional info: Code:
david@DavidLee1A:~$ ls -ali |
If /bin/sh exists, leave it alone.
If it doesn't exist, then you can create it. Normally /bin/sh is used during system boot... so tampering with it could be a problem, or cause a serious problem. On MOST linux systems /bin/sh is either the bash binary ( and /bin/bash a link to it) or the other way around. As long as /bin/sh exists, system boot will work. |
Thank you jpollard for replying but I am trying to avoid issues somewhere else:
Oh, by the way, I noticed the link goes to dash: Code:
david@DavidLee1A:~$ readlink -f /bin/sh Quote:
|
Quote:
Code:
$ rm /bin/sh Do make sure that your distro is compliant with the Host System Requirements if you are going to try building LFS, otherwise you'll encounter problems along the way and might need to start from scratch again. BTW: Do post your LFS related questions in the LFS sub-forum :) |
I marked this solved and continued it here: http://www.linuxquestions.org/questi...49#post4965249
|
Done. Thank you. If there are no issues then I'll mark this solved in a few hours.
Code:
root@DavidLee1A:/home/david# rm /bin/sh |
All times are GMT -5. The time now is 09:48 PM. |