Results 1 to 2 of 2

Thread: set -x

  1. #1
    Join Date
    Nov 2003
    Location
    India
    Posts
    114

    Post Unanswered: set -x

    Can anyonbe tell me the usage of set -x.

    I cant understand this code snippet

    if [ ! -z $DEBUG ]; then
    set -x
    fi

    Is this DEBUG some enviroment variable or it is user defined.

  2. #2
    Join Date
    Apr 2004
    Location
    Boston, MA
    Posts
    325
    -x Print commands and their arguments as
    they are executed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •