error handling

Error handling examples in bash

#!/bin/bash
set -e
# Description: Examples of error handling.
 
 
# Is argument supplied?
# Use -z to check whether argument is supplied or not instead of '$# -eq 0'.
Subscribe to RSS - error handling