Unix/Linux Interview Questions
Solaris Interview Question II
- Display the page size of memory ? - pagesize -a
- Display Ethernet Address arp table ? - arp -a
- Display the no.of active established connections to localhost ? - netstat -a | grep EST
- Display the state of interfaces used for TCP/IP traffice ? - netstat -i
- Display the parent/child tree of a process ? - ptree <pid> Example: ptree 1267
- Show the working directory of a process ? - pwdx <pid> Example: pwdx 1267
- Display the processes current open files ? - pfiles <pid> Example: pfiles 1267
- Display the inter-process communication facility status ? - ipcs
General UNIX interview questions
- What are the main differences between Apache 1.x and 2.x?
- What does the “route” command do?
- What are the read/write/execute bits on a directory mean?
- What does iostat do?
- what does vmstat do?
- What does netstat do?
- What is the most graceful way to bring a system into single user mode?
- How do you determine disk usage?
- What is AWK?
- What is SED?
- What is the difference between binaries in /bin, and /usr/bin?
- What is a dynamically linked file?
- What is a statically linked file?
Oracle on Linux/Unix questions
- How many memory layers are in the shared pool?
- How do you find out from the RMAN catalog if a particular archive log has been backed-up?
- 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?
- Define the SGA and how you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?
- 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
- Job Scheduling; mainly crontab, at, batch command
- Backup stetegy; incremental, full system back up; diff between tar & ufsdump
- diff between hard link & softlink
- How to list only the directories inside a directory (Ans. ls -l|grep “^d”)
- RAID levels; pros & cons of diffrent levels; what is RAID 1+0
- How to recover a system whose root password has lost?
- What is a daemon?
- How to put a job in background & bring it to foreground?
- What is default permissions for others in a file?
- Questions on shell initialization scripts?