Monday, March 5, 2012

IMPORTANT LINUX QUESTIONS WITH ANSWERS


SOME IMPORTANT LINUX QUESTIONS WITH ANSWERS

 

What is Linux and why is it so popular?

            Linux is a multiuser, multitask GUI based open source operating system developed by Linus Torvalds Torvalds has invited the community to enhance the Linux kernel and thousands of system programmers worked on to enhance.
           Prior to Linux, there is UNIX. The desktop work stations from various companies were based on UNIX. Later a numerous companies entered and each one of them had their own UNIX version. As the proprietary authority is owned by each company and the lack of central authority weaken UNIX. As Linux is free and runs on any PC platform it gained the popularity very quickly. The following are few more reasons for its popularity:

- People who are familiar with UNIX can work on Linux with ease and comfort.
- People who want great control over network security and on operating system

1. Every command in Linux is a

          Correct answer: executable program

2. How long can a filename in Linux be?

           Correct answer: 255 characters

3. What is the shortcut to the login directory?

         Correct answer: cd + enter key

4. The hierarchy of a series of directories branching in a user system starts from

        Correct answer: /home

5. Saving open files, flush the system cache and other necessary system maintenance are allowed by.

         Correct answer: logging off the system

6. Which directory contains configuration files that stores system and application setting?                 

         Correct answer:   /etc

7. Which command is used to find data files, programs, directories that match the search argument?
                      

         Correct answer:  locate

8. Applications written to provide a GUI shell for Unix and Linux are called

          Correct answer: x windows

9. The advantage of using NFS rather than Samba for file sharing in Linux is

          Correct answer: compatibility with Windows file sharing

10. Which framework is provided for the programs to interchange information about Linux OS?

          Correct answer: Resource Definition Framework

11. To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux?

           Correct answer: Red Hat Linux does not support all the devices supported by IBM z/OS

12. Which of the following has greater market share of Linux SW/HW environment?

           Correct answer: Linux on z10

13. Which of the following commands can be run to remove all the rules in an iptables table?    

              Correct answer:   iptables -F

14. Which of the following is the BEST way to set up SSH(Secure Shell) for communicating between Systems without needing passwords?
 

         Correct answer:   Use ssh-keygen for generating public-private keys.

15. How much usable space is available, when a Linux system is configured with a RAID 5 array that consists of six 20 GB hard disk drives?

        Correct answer: 120

16. Which of the following commands can be used to check for file corruption?

        Correct answer: md5sum

17. Which of the following allows to secure remote command line access?

         Correct answer:  SSH(Secure Shell)


18. Which of the following supports for creating a Linux VPN (Virtual Private Network)?

        Correct answer: 3DES

19. Which of the following commands delete the files from the /tmp directory, issued by non-root user?

         Correct answer: su -c "rm -rf /tmp/*"

20. Which configuration does cardmgr read at Linux system startup?

         Correct answer: PCMCIA cards

21. When a computer system is reported problems with inodes and blocks, which of the following is the problem and its solution to rectify it?

         Correct answer: The file system has become corrupt and needs to be repaired.

22. Which Linux command will successfully mounts a USB drive?

          Correct answer: mount /dev/sda1 /mnt/usb

23. ___________ is a common tool for determining services and ports running on a remote Linux.

          Correct answer:   nmap


24. For supporting new diskless client workstations, which of the following services needs to be installed on a server?

           Correct answer: PXE (Preboot eXecution Environment) and tftpd

25. Which of the following will kill the process 1010 by an administrator(logged in as a standard user)? The process 1010 was started by the root user.

             Correct answer: su -c "kill 1010"

26. Which of the following Linux commands could be used to find what processor was detected on boot, when a laptop system is slow/

             Correct answer:  POST

27. How to accomplish the LILO boot configuration updation for supporting a newly installed IDE hard drive?

             Correct answer: Edit lilo.conf and run "lilo -v -v"

No comments:

Post a Comment