| 1: | The default HP-UX shell is: -
Bourne Shell -
Korn Shell -
POSIX Shell -
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? -
The shell completes the command. -
The typed command is erased. -
You get a list of files in the directory. -
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? -
The previous command is displayed on the command prompt. -
The date command is executed. -
The current shell is suspended . -
Nothing happens. |
| 4: | What does the command r 3 do? -
It reads three lines of user input and then displays them on the screen. -
It repeats the last three commands. -
It returns three steps back in the command history. -
It executes command number 3 in the command history. |
| 5: | For what purpose is the stty command used? -
setting baud rate -
setting terminal control characters -
setting flow control -
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? -
using the cd HOME command -
using the cd ~/ command -
using the cd OLDPWD command -
all of the above |
| 7: | A job running in the foreground can be suspended by: -
the bg command -
the fg command -
using the susp control character -
using the suspend command |
| 8: | Background jobs are always in: -
a suspended state -
a stopped state -
a running state -
none of the above |