TECHNOLOGY

If you enjoy my posts, please consider making a contribution, recurring or not. Thank you. https://ko-fi.com/pcunix

I have a Mac Mini, but I much prefer my iPad, probably because it's easier to move around the house or out on the porch. There are, of course, things that can't be done on an iPad without buying some app, or are complicated to do, or cannot be done at all.

That's where a Mac can come in handy. But, as already mentioned, the Mac is fairly stationary. I might not want to go back into the house just to run a simple script.

Enter Linode.com. Years ago (decades ago), I ran a very popular Unix-oriented website on a shared Linux server. That site was busy enough that I used a dedicated server, but for what little I need now, their $5-a-month shared server is more than enough.

Right here is where a lot of readers might say "I know NOTHING about Linux, so see ya later, alligator."

Hold on. You don't need to know a thing if you have a friendly AI pal at hand. Honestly, even though I worked with Linode servers for many years, I couldn't completely remember everything I needed to do to get one up and running when I added this new one. ChatGPT did know how, and told me how to use the ShellFish app to use secure SSH to access the command line and configure it so it exposes the Linux box in my Files app, letting me drag and drop files in either direction.

My immediate need was a script to automatically edit some text. In the old days, I'd do that in Perl because that was where I was most proficient, but Python seems to be the thing today. I know nothing about Python and any available libraries, but ChatGPT does.

I told it what I wanted to do, gave it some sample files, and seconds later had a Python script that did the job. I used my Files app to bring the files back home, and I was done.

And I didn't have to go back into the house.