Thursday, August 30, 2012

NOOP operator in Bash:

A standard NOOP Operator in bash is colon ":".

Try out:
: echo test or anything :)
[m@root]$ a=1
[m@root]$ b=2
[m@root]$ c=3
[m@root]$ echo $a; : echo $b ; echo $c
1
3


Thanks,
Kailash Chandak

1 comment: