Here is a command-line program in Bash with some gaps. The program can be invoked from terminal with fileName.sh [option] [arg]. When invoked with -h or --help option, the script displays a help message. In any other case – with another argument [arg] – the script prints the message You entered: [arg]. Fill in the blanks to complete the program.
Recall needed keywords:
if..thenconstruction is used to perform execution of commands based on a conditionoperator
||means logical ORechoprints the specified text or variables to the terminal$0refers to the name of the script$1refers to the first positional parameter passed to a script or a function.