Re: cat >>EOF

2021-09-10 Thread Michael via PLUG-discuss
Thanks for the tip! On Fri, Sep 10, 2021 at 3:07 PM Shaun Anderson wrote: > Your >> should be <<. > > You're using redirect operators there. > > cat << EOF > > https://stackoverflow.com/questions/2500436/how-does-cat-eof-work-in-bash > > On Fri, Sep 10, 2021 at 11:47 AM Michael via PLUG-discuss

Re: cat >>EOF

2021-09-10 Thread Shaun Anderson via PLUG-discuss
Your >> should be <<. You're using redirect operators there. cat << EOF https://stackoverflow.com/questions/2500436/how-does-cat-eof-work-in-bash On Fri, Sep 10, 2021 at 11:47 AM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Thanks for the tip! > ... > Argh. This

Re: cat >>EOF

2021-09-10 Thread Michael via PLUG-discuss
Thanks for the tip! ... Argh. This isn't working! I almost want to go back to Mint! Mounting oh no the USB drive is trying to mount itself to the arhiso mount point! On Fri, Sep 10, 2021 at 2:31 PM Snyder, Alexander J < alexan...@snyderfamily.co> wrote: > Cntrl+C ? Or Z, or X. > >

Re: cat >>EOF

2021-09-10 Thread Snyder, Alexander J via PLUG-discuss
Cntrl+C ? Or Z, or X. Worst case, unplug it and back away. It'll explode soon. Thanks, Alexander. Sent from my Samsung S20+ 5G On Fri, Sep 10, 2021, 11:26 Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I typed > >cat >>EOF > > But when I type EOF it doesn't exit.

cat >>EOF

2021-09-10 Thread Michael via PLUG-discuss
I typed cat >>EOF But when I type EOF it doesn't exit. help? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings:

Re: vi

2021-09-10 Thread Ben Francom via PLUG-discuss
":x" (Write if necessary and quit). Fewer keystrokes. It's the same as ZZ..I haven't gone back to ":wq" after a fellow engineer showed me that one. On Fri, Sep 10, 2021 at 10:08 AM Shaun Anderson via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > People will probably beat this to

Re: vi

2021-09-10 Thread Thomas Scott via PLUG-discuss
Learning VIM was one of the best moves I ever made - It's not an exaggeration to say that I use it for everything, to the point that one of my first questions when evaluating any editor/software is "does it have vim keybindings?" and if not, "can I *give it *vim keybindings..." I still remember

Re: vi

2021-09-10 Thread Shaun Anderson via PLUG-discuss
People will probably beat this to death, but take some time and go through the tutorials, and really learn it. The ramp is a bit steep, but it is such an efficient editor. You don't need to learn every esoteric way of doing things, but a dozen or more keys will have you zipping around in no

Re: vi

2021-09-10 Thread Michael via PLUG-discuss
h, when I go back to look at the file there is nothing in it On Fri, Sep 10, 2021 at 11:52 AM Michael wrote: > thanks guys. I should have done a web search. Sorry. > > On Fri, Sep 10, 2021 at 11:49 AM Matt Graham via PLUG-discuss < > plug-discuss@lists.phxlinux.org> wrote: > >> On

Re: vi

2021-09-10 Thread Michael via PLUG-discuss
thanks guys. I should have done a web search. Sorry. On Fri, Sep 10, 2021 at 11:49 AM Matt Graham via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > On 2021-09-10 08:36, Michael via PLUG-discuss wrote: > > how does one save and exit with vi? > > (escape):wq or (escape)ZZ . If you're

Re: vi

2021-09-10 Thread Ryan Petris via PLUG-discuss
:wq! On Fri, Sep 10, 2021, at 8:36 AM, Michael via PLUG-discuss wrote: > how does one save and exit with vi? > > -- > :-)~MIKE~(-: > --- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your

Re: vi

2021-09-10 Thread Matt Graham via PLUG-discuss
On 2021-09-10 08:36, Michael via PLUG-discuss wrote: how does  one save and exit with vi? (escape):wq or (escape)ZZ . If you're going to try to use vim, you should start by running vimtutor. That will show you how to use all the basic features of the editor. -- Crow202 Blog:

Re: vi

2021-09-10 Thread der.hans via PLUG-discuss
Am 10. Sep, 2021 schwätzte Michael via PLUG-discuss so: moin moin MIchael, how does one save and exit with vi? Carefully. :) vi is a modal editor with editing mode and command mode. To exit cleanly, you need to be in command mode. Hit to make sure you're in command mode, then you can

vi

2021-09-10 Thread Michael via PLUG-discuss
how does one save and exit with vi? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: path

2021-09-10 Thread Michael via PLUG-discuss
figured that one out... it was the live media I were looking at On Wed, Sep 8, 2021 at 5:03 PM Michael wrote: > Interesting: I wanted to label the partition arch was installed on (makes > it easier to mount as the device label changes between sdb and > sdc) but discovered that arch isn't