Unix/Linux Interview Questions

Solaris Interview Question II

  1. Display the page size of memory ? - pagesize -a
  2. Display Ethernet Address arp table ? - arp -a
  3. Display the no.of active established connections to localhost ? - netstat -a | grep EST
  4. Display the state of interfaces used for TCP/IP traffice ? - netstat -i
  5. Display the parent/child tree of a process ? - ptree <pid> Example: ptree 1267
  6. Show the working directory of a process ? - pwdx <pid> Example: pwdx 1267
  7. Display the processes current open files ? - pfiles <pid> Example: pfiles 1267
  8. Display the inter-process communication facility status ? - ipcs

General UNIX interview questions

  1. What are the main differences between Apache 1.x and 2.x?
  2. What does the “route” command do?
  3. What are the read/write/execute bits on a directory mean?
  4. What does iostat do?
  5. what does vmstat do?
  6. What does netstat do?
  7. What is the most graceful way to bring a system into single user mode?
  8. How do you determine disk usage?
  9. What is AWK?
  10. What is SED?
  11. What is the difference between binaries in /bin, and /usr/bin?
  12. What is a dynamically linked file?
  13. What is a statically linked file?

Oracle on Linux/Unix questions

  1. How many memory layers are in the shared pool?
  2. How do you find out from the RMAN catalog if a particular archive log has been backed-up?
  3. How can you tell how much space is left on a given file system and how much space each of the file system’s subdirectories take-up?
  4. Define the SGA and how you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?
  5. What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

Topics for a Unix sysadmin interview

  1. Job Scheduling; mainly crontab, at, batch command
  2. Backup stetegy; incremental, full system back up; diff between tar & ufsdump
  3. diff between hard link & softlink
  4. How to list only the directories inside a directory (Ans. ls -l|grep “^d”)
  5. RAID levels; pros & cons of diffrent levels; what is RAID 1+0
  6. How to recover a system whose root password has lost?
  7. What is a daemon?
  8. How to put a job in background & bring it to foreground?
  9. What is default permissions for others in a file?
  10. Questions on shell initialization scripts?

Pages (3): « 1 2 [3]