Shell Script "printf examples"

take "cost" as a variable
[root@noisecover-dr Scripts]# cost=0
[root@noisecover-dr Scripts]# printf $cost --> print cost value
0[root@noisecover-dr Scripts]# --> prompt will come on same line



Comments

Popular posts from this blog

How to delete SEA in VIOS

Webmin configuration for LDAP

CPU speed webpage "http://www.spec.org/cpu2006/results/cint2006.html"