This question already has an answer here:
I'm new in Linux and I'm trying to make my first bash script to improve my work at college. Im working with a software called GROMACS and I'm trying to make a script to perfom a bunch of codes at the same time, but in one of the lines I need needs an input (number) from the keyboard. What can I do to make this script work?
Here are my lines:
!#/bin/bash gmx pdb2gmx -f protein_name.pdb -o protein_name_processed.gro -water spce
And that last line needs the keyboard input (number 15)
Thanks for your help.