Which operator in a regular expression matches the preceding character either zero or one time?
The file script.sh in the current directory contains the following content:#!/bin/bashecho $MYVARThe following commands are used to execute this script:MYVAR=value -./script.shThe result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?
What is the return value of a shell script after successful execution?
Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?
Which of the following statements are true regarding a typical shell script? (Choose two.)
Which of the following commands extracts the contents of the compressed archive file1.tar.gz?