Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

bash -x vs bash -n?

This interview card answers: bash -x vs bash -n? -n checks syntax, runs nothing. -x runs and prints each step. Trace a part only.

bash -x vs bash -n? -n checks syntax, runs nothing. -x runs and prints each step. Trace a part only.
bash -x vs bash -n? · Download PNG
Read card text

What this card says

What it is

-n checks syntax, runs nothing.

Why it matters

-x runs and prints each step.

How / example

Trace a part only.

set -x; ...; set +x

See all AWS revision cards