Unix OS - 1

Description: Complete study material for Unix get Online Unix Notes and Test Papers, get Prepared for Unix OS, Linux, Unix Study , Linux Study
Number of Questions: 25
Created by:
Tags: Unix Study Material Unix Study Online Unix Study Free Unix Study Unix OS Linux Linux Study Operating System
Attempted 0/25 Correct 0 Score 0

UNIX was developed by

  1. Bell Labs

  2. Berkley Software Group

  3. California University

  4. American Defence Academy


Correct Option: A

Which of the following features of UNIX may be used for inter process communication?

  1. Signals

  2. Pipes

  3. Semaphore

  4. Message queues


Correct Option: B

The default permission bits of a file, when it is created for the first time, is controlled by

  1. chmod value

  2. fmask value

  3. umask value

  4. none of the above


Correct Option: C

The file that stores an integer as a sequence of characters is a

  1. text file

  2. data file

  3. binary file

  4. core


Correct Option: A

In which of the following directories init resides?

  1. root

  2. bin

  3. etc

  4. usr


Correct Option: C

The PID of kernel process is

  1. undefined

  2. 0

  3. 1

  4. 3


Correct Option: B

The first thing that is searched when a command references a file is its

  1. I - node

  2. Inode number

  3. Permission string

  4. None of the above


Correct Option: B

Which of the following calls never returns an error?

  1. getpid

  2. fork

  3. ioctl

  4. open


Correct Option: C

The technique that allows only one user to work with a file at a particular time is called

  1. semaphore

  2. critical region

  3. locking

  4. dedicated mode


Correct Option: C

Which of the following is used to write disk block images from memory to disk?

  1. clri

  2. sync

  3. mkfs

  4. stty


Correct Option: D

Which of the following processes has the PID 1?

  1. Kernel

  2. UNIX

  3. Init

  4. Shell


Correct Option: C

Unix was first installed in

  1. IBM - 360

  2. PDP/11

  3. PDP/7

  4. CRAY


Correct Option: B

A command which transcribes standard input to the standard output & also makes a copy of the same in file, is

  1. tee

  2. tr

  3. sort

  4. grep


Correct Option: A

Which of the following system calls transforms an executable binary file into a process?

  1. fork

  2. exec

  3. ioctl

  4. longjmp


Correct Option: A

The command that can be used to restrict incoming message to a user is

  1. mesg

  2. grep

  3. halt

  4. sleep


Correct Option: A

Which of the following system calls does not return control to the calling point on termination?

  1. fork

  2. exec

  3. ioctl

  4. longjmp


Correct Option: B

PID is used by the system to identify

  1. a process

  2. the file name

  3. the i-node

  4. all of the above


Correct Option: A

Which of the following commands is used for an automatic reminder service?

  1. write

  2. mesg

  3. calendar

  4. mail


Correct Option: C

In Bourne Shell, which file sets the UNIX environment for the user when he logs into his Home directory?

  1. exrc

  2. profile

  3. lastlogin

  4. mbox


Correct Option: B

The UNIX file system stores a data in physical blocks of

  1. 1024 bytes

  2. 2048 bytes

  3. 512 bytes

  4. 256 bytes


Correct Option: C

Which of the following commands is used to update 'access & modification times' of a file?

  1. grep

  2. wc

  3. touch

  4. cat


Correct Option: C

Which command is used to link files?

  1. lk

  2. ln

  3. cp

  4. tar


Correct Option: D

The seventh field of /etc/password is

  1. password

  2. login

  3. shell

  4. home


Correct Option: C

Which of the following is not a filter?

  1. cat

  2. grep

  3. wc

  4. sort


Correct Option: A

Which of the following files contains information related to password aging?

  1. shadow

  2. password

  3. profile

  4. all the the above


Correct Option: B
- Hide questions