Linux interview questions – page 10

517 questions. Tap “Show answer” to check yourself.

Advertisement
  1. You wish to restore the file memo.ben which was backed up in the tarfile MyBackup.tar. What command should you type?

  2. What file would you edit in your home directory to change which window manager you want to use?A) XinitB) .xinitrcC) XF86SetupD) xstartE) xf86init

  3. What is memory mapped / IO mapped ? Which calls used forthis to access any hardware address in linux device driver ?

  4. Where is a good place to store shell scripts that are for use by the author?A) ~/binB) /binC) /usr/binD) /root

  5. Which command works in almost all distributions to create a boot disk?A) mkbootB) make bootdskC) make bootD) mkbootdskE) mkbootdisk

  6. What is the minimum number of partitions you need to install Linux?

  7. Is the sheduler itself a process or not.

  8. What is iptabe on redhat linux?

  9. If one of the critical section code (linked list) is underISR & another one in kernel thread ? How you willsynchronize for this critical section code ?

  10. Whst is encapsulation?when u encpsulate actually while devoloping code?

  11. While using fdisk what command would you use to see the partition table?Choose one:a. wb. mc. wd. p

  12. When formating your partition with the mkfs command, you must also pass to the command the type of filesystem and the number of __________?

  13. Advertisement
  14. What would you type to send the last 20 lines of a text file to STDIN?A) end -n 20 filenameB) last -n 20 filenameC) head -20 filenameD) end -20 filenameE) tail -20 filename

  15. In my linux machine, i lost /etc/passwd file and /etc/shadow file, then how can i recover it?

  16. What is Kernel parameters?

  17. Can we use semaphore or mutex or spin lock in interruptcontext in linux kernel ?

  18. Is Linux Unix?

  19. You want to know how much space is being occupied by your user's home directories. Which of the following will provide you with this information?Choose one:a. du -l /homeb. du -b /homec. du -m /homed. du -c /home

  20. You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the _________ utility.

  21. HOW TO CHANGE SCHEDULING ALGORITHM OF A LINUX KERNEL THREAD DYNAMICALLY

  22. Can Linux Use More than 3 Serial Ports by Sharing Interrupts?

  23. What is atomic function / atomic variable ?

  24. What u know abt tar Command?

  25. Which two utilities can you use to set up a job to run at a specified time?Choose one:a. at and crondb. atrun and crontabc. at and crontabd. atd and crond

  26. Advertisement
  27. Why bind system call is required in socket programming ?what is it;s Significance ?

  28. Bob Armstrong, who has a username of boba, calls to tell you he forgot his password. What command should you use to reset his command?

  29. What is command for executing files?

  30. In order to run fsck on the root partition, the root partition must be mounted as ___________.

  31. What are the common problems with threads?

  32. What is Root ?

Advertisement