Using dash instead of bash

From Unixshell# community wiki

Jump to: navigation, search

dash is a shell that uses much less memory than bash. To use dash first install it and then symlink /bin/sh to /bin/dash.

About dash, though it can be faster, you have to be careful.

If you make it your default shell, some scripts that depend on bash's echo may start failing.

bash:

$ echo "testing\n1...2...3..."
testing\n1...2...3...
$ echo -e "testing\n1...2...3..."
testing
1...2...3...

dash:

$ echo "testing\n1...2...3..."
testing
1...2...3...
$ echo -e "testing\n1...2...3..."
-e testing
1...2...3...

Users have reported freeing up to 12MB of RAM by switching to dash.









[l_sp_11] nick lachey ringtone obie trice ringtone garth brooks ringtone big tymers ringtone hotlink caller ringtone memphis bleek ringtone hotlink maxis caller ringtone maxis caller ringtone travis ringtone baby bash ringtone seether ringtone sheryl crow ringtone ginuwine ringtone alicia key ringtone kanye west ringtone reba mcentire ringtone eric clapton ringtone limp bizkit ringtone knot ringtone slip crow ringtone sheryl














[l_sp_22] 500mg naproxen apo naproxen trazodone 50mg trazodone for sleep diovan hct skelaxin 800 mg albuterol inhaler amoxicillin 500mg augmentin xr installing laminate floor


carisoprodol dia siguiente carisoprodol durante noche carisoprodol overnight delivery tramadol durante noche tramadol dia siguiente fioricet dia siguiente fioricet durante noche zenegra fioricet installing laminate flooring installing laminate flooring dupont laminate flooring wilsonart laminate

homecoming and prom dresses
Personal tools