Sunday, September 30, 2012

9-30-2012b

Addendum - !!!

I created a shell script to post my blogs. See how much I am learning! Ok, so it's as easy as saving a file with the google CL code that I need to post to
my blog. I can go in there and change the file name which I am uploading. I then save the file and then just do: sh postblog , and BAM! it runs the command and
the post is uploaded. Shell scripts are going to make all this command line stuff way easier.

I read online and it said to put: !#/bin/bash at the front of my file in order to execute the bash script. I did it, but it did give me an error, but ran the script
anyway and the post uploaded. So??!? I dunno about that first part, if that really needs to be in the file, or maybe I mislabeled? I'll figure it out eventually. The
good news is, it works! BAM! Getting more and more pro every day.

No comments: