Re: learning to write code

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Harold Hartley
Date:  
To: plug-discuss
Subject: Re: learning to write code
Hmmm, I do run #!/bin/sh on my FreeBSD system. Maybe I should change it on my fedora box.
I have run scripting many years ago on my Debian box, but that was in the early 90's. I have been trying to do scripting on my fedora box to run a program and to give me notification of issues, but I'm running into problems. Maybe it will be better when I switch from bash to sh.
Right now I just play around with my boxes of fedora, Debian, FreeBSD and free-dos.

On Sun, Feb 17, 2019, at 11:44, Steve Litt wrote:
> On Fri, 08 Feb 2019 12:33:11 -0500
> "Harold Hartley" <> wrote:
>
> > I am interested in learning to write code and not sure where to start.
> > I'm looking for anyone that can steer me in the right direction for
> > books or web site that can help me get started.
> >
> > I currently run Fedora 29, with 1 TB drive, i3-7100 processor and
> > currently 4 GB ram but will be upgrading to 16 GB ram and with dual
> > monitors.
>
> Do you ever create shellscripts to automate part of your Fedora 29's
> work? If so, that's writing code. Explore branching, looping, sending
> signals back and forth using kill. When you find your shellscript's
> runtime performance too slow, or when you find it inconvenient to code
> bigger programs in shellscripts, it's time to switch to Python.
>
> By the way, I begin all my shellscripts with #!/bin/sh, not
> #!/bin/bash, because Bash is a great interactive shell but it's bloated
> overkill for shellscripts.
>
> SteveT
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
Harold Hartley
17632 N. 5th place
Phoenix, AZ 85022

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss