wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Unix

Total questions: 36

Worksheet time: 19mins

Name
Class
Date
1.

What is a shell script?

a)

group of commands

b)

a file containing a series of commands

c)

group of functions

d)

a file containing special symbols

2.

Which of the following commands is used to display the directory attributes

a)

cat

b)

ls

c)

mkdir

d)

cp

3.

Which command is used to remove a file?

a)

remove

b)

del

c)

rm

d)

mv

4.

The following command can list out all the current active logins.

a)

A - whoami

b)

B - who am i

c)

C - who

d)

D - None of the above.

5.

The mv command changes

a)

Only the directory entry

b)

Only the directory entry and i-node

c)

Only the i-node number

d)

None of the above

6.

Unix is a

a)

Single User, Single tasking OS

b)

Single User, Multi-tasking OS

c)

Multi-User, Multi- tasking OS

d)

None

7.

Unix operating system is written in

a)

Ada Language

b)

Perl Language

c)

C Language

d)

Pascal Language

8.

Which command is used to create a file

a)

ls

b)

cat

c)

vi

d)

lyrix

9.

To Display line of text/string that are passed as an argument with a command

a)

cat

b)

echo

c)

ls

d)

none of the above

10.

Unix shell command that lists directory contents of files and directories with hidden files.

a)

ls -d

b)

ls -F

c)

ls -a

d)

ls -l

11.

Which command is used to get information about currently logged in user on to system

a)

who am i

b)

who

c)

who i am

d)

None of the above

12.

Date command is used to support format specifier

a)

True

b)

False

13.

Which command in UNIX is used to change the user account passwords.

a)

pwd

b)

password

c)

passwd

d)

none of the above

14.

In Unix, Combining commands are

a)

& %

b)

&& %

c)

; &&

d)

; &

15.

which command is used to see the calendar of any specific month or a complete year

a)

calendar

b)

cal

c)

none of the above

16.

Shell scripts are executed in a separate child shell process.

a)

a) True

b)

b) False

17.

The first line in any shell script begins with a _____

a)

a) &

b)

b) !

c)

c) $

d)

d) #

18.

This is an important OS function

a)

Printing

b)

Resource (Memory, Processor, Device, etc) Management

c)

Video editing

d)

Scanning

e)

Gaming

19.

What year did Unix started?

a)

1969

b)

1981

c)

1979

d)

2015

20.

What are the three types of kernel? Choose all that apply.

a)

Microkernel

b)

Monolithic

c)

Paleolithic

d)

Hybrid

e)

Macrokernel

21.

What is an example of a special character

a)

&

b)

A

c)

:

d)

K

22.

What is Unix?

a)

Unix is a programming language

b)

Unix is a software program

c)

Unix is an operating system

d)

Unix is a text editor

23.

In which language UNIX is written?

a)

C++

b)

C

c)

Java

d)

Python

24.

Which of the following is the first UNIX editor?

a)

vi

b)

emacs

c)

ex

d)

ed

25.

Which of the following is not a part of all the versions of Unix?

a)

System Calls

b)

Graphical user interface

c)

Kernel and Shell

d)

Commands and utilities

26.

Which Unix command is used for changing the current directory?

a)

pwd

b)

rm

c)

cd

d)

cp

27.

Which command is used for displaying the contents of a file in Unix?

a)

mkdir

b)

cat

c)

rm

d)

cp

28.

Which of the following commands is known as stream editor?

a)

grep

b)

tr

c)

sed

d)

td

29.

Which of the following is not a type of shell?

a)

The C Shell

b)

The Korn Shell

c)

The Bourne Shell

d)

The Perl Shell

30.

The prompt issued by the shell is called ______

a)

prompt

b)

command translator

c)

command prompt

d)

command executor

31.

What is the default symbol for command prompt in Bourne shell?

a)

!

b)

#

c)

$

d)

@

32.
Unix OS was first developed by
a)
Dennis Ritchie
b)
Bjarne stroustrup
c)
Ken Thompson
d)
Brian Kernighan
33.
Unix OS was first developed at
a)
Microsoft corp. USA
b)
AT & T Bell Labs, USA
c)
IBM, USA
d)
Borland International, USA
34.
Unix is a
a)
Single User, Single tasking OS
b)
Single User, Multi-tasking OS
c)
Multi-User, Multi- tasking OS
d)
None
35.
Shell Program is stored in a file called
a)
Unix
b)
Sh
c)
Dd
d)
Cc
36.

The --------------------- is responsible for the management of processes.

a)

Shell

b)

User

c)

Kernel

d)

Administrator