0

operating systems Online Quiz - 1

Description: operating systems Online Quiz - 1
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

How do you find out the current directory you’re in?

  1. $dir

  2. pwd

  3. currdir

  4. none


Correct Option: B

What are the default umask values

  1. 000

  2. 022

  3. 033

  4. 222


Correct Option: B

Which is the inner most layer in unix operating system

  1. Hardware

  2. Kernel

  3. Shell

  4. Application Programs


Correct Option: B

Which command is used to modify the modification time and access times of a file

  1. modify

  2. touch

  3. cat

  4. Not possible


Correct Option: B

Which command is used to create a zero size file?

  1. cat

  2. create

  3. touch

  4. new


Correct Option: C

Which command can be used to view the current users login name?

  1. logname

  2. who

  3. whos

  4. ps


Correct Option: A

UNIX is a single user operating environment

  1. True

  2. False


Correct Option: B

Whats the command used when the terminal settings are disrupted and we see garbage in our terminal

  1. stty -d

  2. tput clear

  3. stty sane

  4. stty clear


Correct Option: C

Which environment variable can be used to change the shell prompt?

  1. TERM

  2. PROMPT

  3. PS1

  4. PS2


Correct Option: C

Unix treats the main memory(RAM) of a PC as a file.

  1. True

  2. False


Correct Option: A

Which command is used to ensure that background jobs continue to run even after logginf off.

  1. noexit

  2. nokill

  3. xlog

  4. nohup


Correct Option: D

Whats the procedure to ensure that the output of a command is not displayed on the terminal?

  1. command >

  2. command > /dev/null

  3. command | cat *

  4. command < /dev/null


Correct Option: B

What is the command to invoke unix's command line calculator?

  1. calc

  2. calculator

  3. cc

  4. bc


Correct Option: D

which of the following is not the unix command to send email

  1. mail

  2. mailx

  3. Mail

  4. email


Correct Option: D

which command helpful to chat with other users in unix

  1. talk

  2. chat

  3. meet

  4. ping


Correct Option: A

which command displays the disk space in unix

  1. dl -k

  2. ls -k

  3. df -k

  4. dz -k


Correct Option: C

by which expression we can schedule jobs in unix

  1. bron

  2. cron

  3. crop

  4. drop


Correct Option: B

which command is used to move files from one location to other

  1. ph

  2. jp

  3. mp

  4. mv


Correct Option: D

AI Explanation

To answer this question, you need to understand the command used to move files from one location to another.

The correct answer is:

D. mv

The mv command is used to move files from one location to another in a Unix-like operating system. It is short for "move" and allows you to relocate files and directories to a different location on the same file system or to a different file system altogether.

- Hide questions