Toby DiPasquale on 24 Aug 2007 14:14:45 -0000 |
On Thu, Aug 23, 2007 at 11:14:05PM -0400, JP Vossen wrote: > Tips and Tricks: avoiding common goofs in bash scripts > 19 slides, reasonably stand-alone +1 for this one. > Note the bash v. dash thing is useful because as of Ubuntu 6.10 /bin/sh > --> dash, *not* bash as most (but not all) other Linux distros > (https://wiki.ubuntu.com/DashAsBinSh). The default shell for > interactive use is still bash, but if you work on init scripts, for > example, there are differences that will cause you problems. > Unfortunately, bash != dash != ash != Bourne != Busybox. I've actually taken to simply replacing dash with bash on my Ubuntu EC2 images b/c the Amazon code assumes bash (it was all written for RedHat-inspired distros). -- Toby DiPasquale ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|