Проверка команды Bash 2 аргументы

if [ $# -lt 2 ]; then
    # TODO: print usage
    exit 1
fi
Worried Wasp