Results 1 to 2 of 2

Thread: linking /bin/sh to bash instead of dash

  1. #1
    Join Date
    Feb 2009
    Beans
    154
    Distro
    Ubuntu Development Release

    linking /bin/sh to bash instead of dash

    if you have not noticed, this is my ubuntu master thesis....
    http://ubuntuforums.org/showthread.php?t=1836890
    check it out and share it with your friends =)

    i prefer bash over dash. bash is a traditional linux program and is on (almost) all linux systems.

    alt + f2

    gnome-terminal

    run

    to see if your running dash run

    ls -al /bin/sh

    Code:
    sudo rm /bin/sh
    Code:
    sudo ln -s /bin/bash /bin/sh
    ls -al /bin/sh

    should now point to bash

    to run dash again

    Code:
    sudo rm /bin/sh
    Code:
    sudo ln -s /bin/dash /bin/sh
    curiosity killed the process, but thats ok because i'm god.

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: linking /bin/sh to bash instead of dash

    This should probably be in tutorials and tips, not in the help sections...just for future reference. Although nice work.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •