What is the Bash equivalent of Python’s pass statement

Each Answer to this Q is separated by one/two green lines.

Is there a Bash equivalent to the Python’s pass statement?

You can use : for this.

true is a command that successfully does nothing.

(false would, in a way, be the opposite: it doesn’t do anything, but claims that a failure occurred.)


The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Leave a Reply

Your email address will not be published.