Re: (Totally OT) Re: Question regarding bash scripting

2019-06-26 Thread Peter Reed
On Tue, 25 Jun 2019 10:56:29 -0600 Joe Zeff wrote: > On 06/25/2019 02:47 AM, Jonathan Ryshpan wrote: > > (except when forbode is the past tense of forbid -- not the usage > > here). > > The past tense of forbid is forbade. Forbode obsolete forms of forbidden, past participle of forbid __

Re: (Totally OT) Re: Question regarding bash scripting

2019-06-25 Thread Joe Zeff
On 06/25/2019 02:47 AM, Jonathan Ryshpan wrote: (except when forbode is the past tense of forbid -- not the usage here). The past tense of forbid is forbade. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users

(Totally OT) Re: Question regarding bash scripting

2019-06-25 Thread Jonathan Ryshpan
On Sun, 2019-06-23 at 18:36 +0800, Ed Greshko wrote: > > > I forebode (right word/spelt ?) it already that the combination of user > > > rights and expansion was my bug, but didn't know how to fix. > > You probably mean "foresaw". "Forebode" is technically correct but that > > usage is uncommon. I

Re: Question regarding bash scripting

2019-06-23 Thread Cameron Simpson
On 23Jun2019 18:36, Ed Greshko wrote: On 6/23/19 5:54 PM, Patrick O'Callaghan wrote: On Sat, 2019-06-22 at 19:37 +, sixpack13 wrote: I forebode (right word/spelt ?) it already that the combination of user rights and expansion was my bug, but didn't know how to fix. You probably mean "fo

Re: Question regarding bash scripting

2019-06-23 Thread sixpack13
I guess "foresaw it" explains it at best. In german it's called "Ahnung". A sort of "partly (!) knowledge", not exclusively rational (maybe a feel or an idea), what's going on, but without a / the deep, 100 % clearness to name it "realized / knew / understood it". But this thread goes philos

Re: Question regarding bash scripting

2019-06-23 Thread Patrick O'Callaghan
On Sun, 2019-06-23 at 18:36 +0800, Ed Greshko wrote: > On 6/23/19 5:54 PM, Patrick O'Callaghan wrote: > > On Sat, 2019-06-22 at 19:37 +, sixpack13 wrote: > > > thanks $ALL > > > > > > bash -c ... > > > > > > did the trick ! > > > > > > P.S. > > > I forebode (right word/spelt ?) it already

Re: Question regarding bash scripting

2019-06-23 Thread Ed Greshko
On 6/23/19 5:54 PM, Patrick O'Callaghan wrote: > On Sat, 2019-06-22 at 19:37 +, sixpack13 wrote: >> thanks $ALL >> >> bash -c ... >> >> did the trick ! >> >> P.S. >> I forebode (right word/spelt ?) it already that the combination of user >> rights and expansion was my bug, but didn't know ho

Re: Question regarding bash scripting

2019-06-23 Thread Patrick O'Callaghan
On Sat, 2019-06-22 at 19:37 +, sixpack13 wrote: > thanks $ALL > > bash -c ... > > did the trick ! > > P.S. > I forebode (right word/spelt ?) it already that the combination of user > rights and expansion was my bug, but didn't know how to fix. You probably mean "foresaw". "Forebode" is t

Re: Question regarding bash scripting

2019-06-22 Thread sixpack13
thanks $ALL bash -c ... did the trick ! P.S. I forebode (right word/spelt ?) it already that the combination of user rights and expansion was my bug, but didn't know how to fix. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe se

Re: Question regarding bash scripting

2019-06-22 Thread Samuel Sieb
On 6/22/19 11:15 AM, francis.montag...@inria.fr wrote: On Sat, 22 Jun 2019 11:06:38 -0700 Samuel Sieb wrote: On 6/22/19 10:31 AM, sixpack13 wrote: sudo rm -rf /boot/loader/entries/*MY*; An alternate solution which I should have included in the other email is: sudo bash -c "rm -rf /boot/lo

Re: Question regarding bash scripting

2019-06-22 Thread Francis . Montagnac
Hi. On Sat, 22 Jun 2019 11:06:38 -0700 Samuel Sieb wrote: > On 6/22/19 10:31 AM, sixpack13 wrote: >> sudo rm -rf /boot/loader/entries/*MY*; > An alternate solution which I should have included in the other email is: > sudo bash -c "rm -rf /boot/loader/entries/*MY*" Right. And you can also r

Re: Question regarding bash scripting

2019-06-22 Thread Samuel Sieb
On 6/22/19 10:31 AM, sixpack13 wrote: sudo rm -rf /boot/loader/entries/*MY*; An alternate solution which I should have included in the other email is: sudo bash -c "rm -rf /boot/loader/entries/*MY*" ___ users mailing list -- users@lists.fedoraprojec

Re: Question regarding bash scripting

2019-06-22 Thread Samuel Sieb
On 6/22/19 10:31 AM, sixpack13 wrote: sudo rm -rf /boot/loader/entries/*MY*; sudo rm -rf /boot/*MY* /lib/modules/*MY*; sudo grub2-mkconfig -o /boot/grub2/grub.cfg; Side point, you don't need semicolons at the end. Those are only to separate commands on the same line. and now my problem:

Question regarding bash scripting

2019-06-22 Thread sixpack13
hallo I usallay run vanilla kernels and build them with a suffix "_MY" to save some works when cleaning /boot if that kernels gets outdated and a new one gets installed. /boot looks like this ll /boot : ... -rw---. 1 root root 20M 22. Jun 15:04 initramfs-5.1.14_MY.img -rw-r--r--. 1 root roo