- 3,126 hits
Place for playing with commands…
ODOC: bala@bala:~ /home$ du && python sample.py && pwd
Use && to arrange for subsequent commands to run, only if earlier
ones succeeded. We can use it for some conditions.
In above command if python file shows any error means pwd command
will not execute.