Adding commandline update to doc
changing the [[ to use test to allow for variety of bash