A repo of code snippets ..

...this is a log of code snippets and useful tips I wrote/found. Should you find any mistakes or have any useful suggestions, please do not hesitate to write to me.

Saturday, March 15, 2014

some printing formats..

for i in {0..10};do printf "%02d\n" $i; done

for i in {000..100};do echo $i; done
Posted by Neelima at 3:19 PM
Labels: shell/bash scripting

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2017 (7)
    • ►  June (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (2)
  • ►  2016 (2)
    • ►  December (1)
    • ►  October (1)
  • ►  2015 (6)
    • ►  June (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ▼  2014 (21)
    • ►  September (2)
    • ►  August (5)
    • ►  July (4)
    • ►  April (1)
    • ▼  March (4)
      • changing group permissions
      • Some useful commands.. to be edited later..
      • some printing formats..
      • putty windows ssh using GUI option
    • ►  February (4)
    • ►  January (1)
  • ►  2013 (7)
    • ►  November (2)
    • ►  October (1)
    • ►  September (4)
  • ►  2012 (4)
    • ►  August (2)
    • ►  February (2)
Simple theme. Theme images by luoman. Powered by Blogger.