Day 39

October 11, 2018

Learning Bash

Today I’ve decided to plunge a little deeper into the bash world.

mkdir hammerTime
chmod 500 hammerTime
cd hammerTime
touch this

Interactive and non-interactive modes

Useful Commands:

Non-interactive

Pipelines:

Piping in bash seems useful, it’s a way of directing data around programmes on one command line. The syntax pipe | is used for this. Similarly > can be used for redirecting output and < can be used for redirecting input.

Right now, I can’t see much personal use for writing non-interactive script, but can see the use of learning some key interactive commands.

In order to get a better appreciation of non-interactive scripts, I think it may help to see how a more experienced developer uses bash scripting.

comments powered by Disqus