Name: _________________________________________________ Mobile No:___________
R & D Departement Instructions for this Test:
Subject: Linux a. You Have 2:00Hrs to Complete This Test
Date: ________________ b. Write your name & mobile number on every test paper you
use.
c. Answer all questions
Choose the correct answer/answers
1. What command is used to count the total number of lines, words, and characters
contained in a file?
a. countw
b. wcount
c. wc
d. count p
2. What command is used to remove files?
a. dm
b. rm
c. delete
d. erase
3. What command is used to remove the directory?
a. rdir
b. remove
c. rd
d. rmdir
4. What hardware architectures are not supported by Red Hat?
a. SPARC
b. IBM-compatible
c. Alpha
d. Macintosh
5. How can you add Maxamed, a new user, to your system?
a. Using useradd
b. Using adduser
c. Using linuxconf
d. All of the above
6. How many primary partitions can exist on one drive?
a. 16
b. 4
c. 2
d. 1
1
Name: _________________________________________________ Mobile No:___________
7. In which directory can you store system user default files used for creating user
directories?
a. /usr/tmp
b. /etc/default
c. /etc/skel
d. /etc/users
8. Which of the following is a valid format for mounting a CD-ROM drive?
a. mount -t iso9660 /dev/cdrom / mnt/cdrom
b. mount /dev/cdrom
c. mount /mnt/cdrom
d. All of the above
9. What command do you use to create Linux file systems?
a. fdisk
b. mkfs
c. fsck
d. mount
10. Which of the following is not a communication command?
a. Grep
b. Mail
c. Mesg
d. Write
11. What command is used to display the characteristics of a process?
a. Au
b. ps
c. du
d. pid
12. Which of the following command is used to see the services running in NFS server?
a. Rpcinfo
b. Serverinfo
c. NFSinfo
d. Infserv