HP Certified: HP-UX System Administration

   

1:

The default HP-UX shell is:

  1. Bourne Shell

  2. Korn Shell

  3. POSIX Shell

  4. C Shell

2:

You are in a directory having three files, file1 , file2 , and afile . You type a command ls f and then press the key followed by the key. What happens?

  1. The shell completes the command.

  2. The typed command is erased.

  3. You get a list of files in the directory.

  4. You get a list of files in the directory starting with f.

3:

You use the date command to see the current system time. Just after that, you press the key followed by the key. What happens?

  1. The previous command is displayed on the command prompt.

  2. The date command is executed.

  3. The current shell is suspended .

  4. Nothing happens.

4:

What does the command r 3 do?

  1. It reads three lines of user input and then displays them on the screen.

  2. It repeats the last three commands.

  3. It returns three steps back in the command history.

  4. It executes command number 3 in the command history.

5:

For what purpose is the stty command used?

  1. setting baud rate

  2. setting terminal control characters

  3. setting flow control

  4. all of the above

6:

Your home directory is /home/boota . You moved from your home directory to the /etc directory. How can you go back to your home directory?

  1. using the cd HOME command

  2. using the cd ~/ command

  3. using the cd OLDPWD command

  4. all of the above

7:

A job running in the foreground can be suspended by:

  1. the bg command

  2. the fg command

  3. using the susp control character

  4. using the suspend command

8:

Background jobs are always in:

  1. a suspended state

  2. a stopped state

  3. a running state

  4. none of the above


   
Top

Категории