Q. Comment on usage of “:” and “NOP” ?
Ans.
Null command [colon], is shell equivalent of a "NOP" (no op, or do-nothing operation). It is synonymous for the shell builtin "true".
The ":" command is itself a Bash builtin, and its exit status is true (0).
No comments:
Post a Comment