Unix Shell Script Test

This test is available in both the Average Skill level and the Advanced Skill level. The Average Skill level test will have at least 25 questions and will take approximately 30 minutes to complete. The Advanced Skill level test will have at least 40 questions and will take approximately 45 to 60 minutes to complete. These tests may also be combined with other tests to present a Combined Test of any length.

These are Multiple Choice type tests with at least four possible answers, only one of which is correct. We constantly change, revise and upgrade our test and really value your opinion. Please send us any suggestions or additions so that we may consider them.

Among the areas covered by this test are the following:

  • Shells and shell scripts,
  • Functions,
  • Running a shell script,
  • Control structures and here document,
  • Symbol commands,
  • Command syntax,
  • Indicating progress with a series of dots,
  • AIX print control command.
  • and much more

We have included a sample question below to give you the style and essence of the test To take a demo of our tests please click the Try a Test Demo button above.

Which one of the following syntaxes is used to capture the entire line of data and assign it to a single variable in HP-UX?

1) “while DATA_FILE

do

PARSE THE $DATA_LINE DATA HERE

done < $DATA_FILE”

2) “while read DATA_LINE

do

PARSE THE $DATA_LINE DATA HERE

done < $DATA_FILE”

3) “while read DATA_LINE

do

PARSE THE $DATA_LINE DATA HERE

done < $DATA_LINE”

4) “while read DATA_LINE

do

PARSE THE $DATA_LINE DATA HERE

done”