Unix Quiz - 1
15 Questions I 1700 Attempts I Created By nbans 709 days ago
Unix Quiz
Question Excerpt From Unix Quiz - 1
| Q.1) | In Bourne shell, you have to EXPORT the declared environmental variables. |
| A. |
| B. |
| Q.2) | What does "../.." stand for ? |
| A. |
| B. |
| C. |
| D. |
| Q.3) | What does cd/ mean in UNIX? |
| A. |
| B. |
| C. |
| D. |
| Q.4) | Which variable gives the exit status of the last command executed in the shell? |
| A. |
| B. |
| C. |
| D. |
| Q.5) | How will you assign the value of variable var2 to var1? |
| A. |
| B. |
| C. |
| D. |
| Q.6) | In UNIX, it is possible for more than one file descriptor to point to same file. |
| A. |
| B. |
| Q.7) | Which of these is true about assign a null value to the variable in bash? |
| A. |
| B. |
| C. |
| D. |
| Q.8) | Command to change owner of the file in UNIX. |
| A. |
| B. |
| C. |
| D. |
| Q.9) | How many prompts are available in a UNIX system? |
| A. |
| B. |
| C. |
| D. |
| Q.10) | What is the purpose of the shell? |
| A. |
| B. |
| C. |
| D. |
| Q.11) | What is the command to find the differences in the lines containing "2011" between the files a1.txt and a2.txt |
| A. |
| B. |
| C. |
| D. |
| Q.12) | What is the command to display environment variables? |
| A. |
| B. |
| C. |
| D. |
| Q.13) | Output of the following: $ v= 'ls' $ echo $v |
| A. |
| B. |
| C. |
| Q.14) | Which one is not the environment variable? |
| A. |
| B. |
| C. |
| D. |
| Q.15) | Which part of UNIX is responsible for sending basic instructions to the computer's processor? |
| A. |
| B. |
| C. |
Take this quiz by clicking Start button on top.

