28 February 2017

Interview questions - Red Hat

                                                       
1. What command is used to count the total number of lines, words and characters contained in a file?
a. wc

2. What command is used to remove files?
a. rm

3. What command is used to remove the directory?
a. rmdir

4. What command is used with vi editor to delete a single character?
a. x

5. What hardware architectures are not supported by Red Hat?
a. Macintosh

6. Define the physical layer of a network?
a. Defines the electrical characteristics of signal passed between the computer and communication devices.

7. What TCP/IP protocol is used for remote terminal connection service?
a. TELNET

8. How many networks and nodes per network, are allowed by the class B network?
a. 16,384 networks and 65,534 nodes per network.

9. What service is used to translate domain names to IP addresses?
a. DNS

10. Which of the following command is used to create a Linux installation boot floppy?
a. dd and rawrite

11. How can you add Amit, a new user, to your system?
a. using useradd

12. What file specifies the order in which to use specified name services?
a. /etc/nsswitch.conf

13. How many primary partitions can exist on one drive?
a. 4

14. In which directory can you store system user default files used for creating user directories?
a. /etc/skel

15. How could you install the file ipchains-1.3.95.i386?
a. rpm -i ipchains*.i386.rpm

16. What does FSF stand for?
a. Free Software Foundation

17. Which of the following is a valid format for mounting a CD-ROM drive?
   mount -t iso9660 /dev/cdrom / mnt/cdrom
   mount / dev/cdrom
   mount / mnt/cdrom
a. All of the above

18. What command do you use to create Linux file system?
a. mkfs

19. Which command can you execute to count the number of lines in a file?
a. wc - l

20. Which of the following is not a communication command?
a) write b) mesg c) mail d) grep
a. grep

21. What command is used to display the characteristics of a process?
a.ps

22. What command is not used to list the files chap01, chap01 and chap04?
a. is chap[124]

23. What command is used with vi editor to replace text from cursor to right?
a. R

24. What sign is used to back up over typing errors in vi?
a. #

25. What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt)?
a. @

26. What command is used to sort the lines of data in a file in alphabetical order?
a. sort

27. What command is used with vi editor to save file and remain in the editing mode?
a. :w

28. What command is used with vi editor to move back to the beginning of a word?
a. b

29. What command is used with vi editor to search a pattern in the forward direction?
a. /

30. What command is used to add printing jobs to the queue?
a. ipr

About the author:




 Sonia Xavier is an  M.tech (Network computing) student from  School of Engineering Cusat, kochi kerala and currently doing her RHCE course at ipsr.

No comments:

Post a Comment