komenda1 | komenda2 | komenda3 || exit 1 i obsługa błedów