unix shell variables

unix shell variables

unix relies heavily on strings. when a variable is declared it is usually assumed to be a string. there is separate notation for declaring numbers and arrays. if a string is operated on as a number, it will be automatically converted to a number so that the operation may be done. this is because shell uses weak typing. unlike other languages, shell variables declared in a script remain after the script completes. to prevent this, type:

Website Link Visit Link Here
Author: CodeCall Programming Forum

  • November 12, 2009 12:15 pm
  • Related Tutorials

    Subscribe to get this amazing EBOOK FREE


    By subscribing to this newsletter you agree to our Privacy Policy

    Skip to content