title: Output the result of a bash script
body: <p>If for example I chose to run a bash script that would output (echo) the time e.g. <code>CheckDate.sh</code>. How could I run this from Java and then print the result of the bash script (the date) in my Java program? </p>