Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #255600
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: alias in bash script issue |
| Date | 2023-03-05 02:40 +0100 |
| Message-ID | <G5LvX-aaiS-1@gated-at.bofh.it> (permalink) |
| References | <G5vAR-9YKb-3@gated-at.bofh.it> <G5wQh-9ZrY-1@gated-at.bofh.it> <G5Lmi-aafG-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Mar 05, 2023 at 09:26:41AM +0800, Ken Young wrote: > On Sat, Mar 4, 2023 at 5:53 PM David <bouncingcats@gmail.com> wrote: > > Debian's default shell is 'dash'. Its manual, readable using 'man dash', > > says > my debian 11's default shell is just bash. > > root@nxacloud-bloghost:~# echo $SHELL > > /bin/bash Both statements are correct, within their contexts. The default *interactive* shell for user accounts is /bin/bash. The default /bin/sh symlink (for scripts using #!/bin/sh, etc.) is dash. The author of a script chooses whether the shebang says #!/bin/bash (which makes it a bash script) or #!/bin/sh (which makes it an sh script). The languages are different.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
alias in bash script issue Ken Young <ken@highwinds.cloud> - 2023-03-04 09:40 +0100
Re: alias in bash script issue David <bouncingcats@gmail.com> - 2023-03-04 11:00 +0100
Re: alias in bash script issue Tom Furie <tom@furie.org.uk> - 2023-03-04 14:20 +0100
Re: alias in bash script issue David <bouncingcats@gmail.com> - 2023-03-04 15:50 +0100
Re: alias in bash script issue Greg Wooledge <greg@wooledge.org> - 2023-03-04 17:30 +0100
Re: alias in bash script issue David Wright <deblis@lionunicorn.co.uk> - 2023-03-04 18:20 +0100
Re: alias in bash script issue Greg Wooledge <greg@wooledge.org> - 2023-03-04 18:30 +0100
Re: alias in bash script issue David Wright <deblis@lionunicorn.co.uk> - 2023-03-05 21:40 +0100
Re: alias in bash script issue Greg Wooledge <greg@wooledge.org> - 2023-03-05 22:40 +0100
Re: alias in bash script issue David Wright <deblis@lionunicorn.co.uk> - 2023-03-07 03:50 +0100
Re: alias in bash script issue Ken Young <ken@highwinds.cloud> - 2023-03-05 02:30 +0100
Re: alias in bash script issue Greg Wooledge <greg@wooledge.org> - 2023-03-05 02:40 +0100
Re: alias in bash script issue Tom Browder <tom.browder@gmail.com> - 2023-03-05 12:30 +0100
Re: alias in bash script issue Ken Young <ken@highwinds.cloud> - 2023-03-05 12:40 +0100
Re: alias in bash script issue Tom Browder <tom.browder@gmail.com> - 2023-03-05 12:50 +0100
Re: alias in bash script issue Nicolas George <george@nsup.org> - 2023-03-05 14:30 +0100
Re: alias in bash script issue <tomas@tuxteam.de> - 2023-03-05 17:10 +0100
Re: alias in bash script issue Tom Browder <tom.browder@gmail.com> - 2023-03-07 13:10 +0100
Re: alias in bash script issue <tomas@tuxteam.de> - 2023-03-05 14:10 +0100
Re: alias in bash script issue Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-03-06 11:10 +0100
csiph-web