Results 1 to 2 of 2

Thread: How to use this

  1. #1
    Contributing Member
    Join Date
    Jul 2006
    Answers
    63

    How to use this

    In shell programming in UNIX operating system I want to know how to sue the elif construct. Someone kindly provide me the syntax of using this.


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    85

    Re: How to use this

    elif is a combination of else and if. The general format of this construct is
    if condition
    then
    command
    command
    ……….
    elif condition
    then
    command
    command
    ……….
    fi

    In the above construct one can place as many elif as one wish for.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact