Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #255599
| From | Ken Young <ken@highwinds.cloud> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: alias in bash script issue |
| Date | 2023-03-05 02:30 +0100 |
| Message-ID | <G5Lmi-aafG-1@gated-at.bofh.it> (permalink) |
| References | <G5vAR-9YKb-3@gated-at.bofh.it> <G5wQh-9ZrY-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sat, Mar 4, 2023 at 5:53 PM David <bouncingcats@gmail.com> wrote: > On Sat, 4 Mar 2023 at 19:30, Ken Young <ken@highwinds.cloud> wrote: > > > Do you know why my alias can't work in the bash script? > > The info is as follows. > > > > 1) this alias does exist > > $ alias |grep 'k=' > > alias k='minikube kubectl --' > > > > 2) it also exists in .bash_profile > > $ cat ~/.bash_profile |grep 'k=' > > alias k="minikube kubectl --" > > [...] > > > ./get.sh: line 5: k: command not found > > [...] > > > Please give suggestions. > > Hi. Friends don't help friends to do bad things :) > > Debian's default shell is 'dash'. Its manual, readable using 'man dash', > says > > > Hi, my debian 11's default shell is just bash. root@nxacloud-bloghost:~# echo $SHELL /bin/bash root@nxacloud-bloghost:~# lsb_release -cd Description: Debian GNU/Linux 11 (bullseye) Codename: bullseye Thanks
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