Unix Interview questions
Unix Interview questions
- Explain difference between IPC mechanisms?
- What type of scheduling is used in Unix?
- What is stty used for?
- How would you remove a semaphore / shared memory whose owner processes have died?
- Explain the unix file system?
- Give examples of how memory leaks can occur with c programs?
- What are the differences between Shared and Dynamic libraries?
- How would you create shared and dynamic libraries?
- How do you debug a core dump?
- If you want to migrate a 32 bit application to a 64 bit os, what all would you check?
- Create your own shell that completes the following problem: Ask the user their name, Compare it to your name and Give a reply that their response is either your name too or it is a nice name too ?
- What does fork() do?
- What's the difference between fork() and vfork()?
- Why use _exit rather than exit in the child branch of a fork?
- How are devices represented in UNIX?
- What is 'inode'?
- Brief about the directory representation in UNIX?
- What is a FIFO?
- Explain about the case statement?
- Explain the basic forms of each loop?
- Describe about awk and sed?
- Who helped you put this list together?
- When someone refers to 'rn(1)' or 'ctime(3)', what does the number in parentheses mean?
- What does {some strange unix command name} stand for?
- How does the gateway between "comp.unix.questions" and the "info-unix" mailing list work?
- What are some useful Unix or C books?
- What happened to the pronunciation list that used to be part of this document?
- How do I remove a file whose name begins with a "-" ?
- How do I remove a file with funny characters in the filename ?
- How do I get a recursive directory listing?
- How do I get the current directory into my prompt?
- How do I rename "*.foo" to "*.bar", or change file names to lowercase?
- Why do I get [some strange error message] when I "rsh host command" ?
- How do I {set an environment variable, change directory} inside a program or shell script and have that change affect my current shell?
- How do I redirect stdout and stderr separately in csh?
- How do I tell inside .cshrc if I'm a login shell?
- How do I construct a shell glob-pattern that matches all files except "." and ".." ?
- How do I find the creation time of a file?
- How do I ring the terminal bell during a shell script?
- How do I find the creation time of a file?
- How can a process detect if it's running in the background?
- Explain about signal argument?
- Explain about exec?
- Explain about trap command?
- Explain about sort command?
- Explain about the command overwrite?
- Explain about kill command?
- Explain about the shell variable IFS?
- Explain about the rules used in overwrite to preserve the arguments to the users command?
- Explain about @@@ lines?
- Is the function call to exit at the end of vis necessary?
- Explain about fgets?
- Explain about efopen page?
- Explain about yacc parser generator?
- What is the major advantage of a hash table?
- What are the techniques that you use to handle the collisions in hash tables?
- In Unix OS, what is the file server?
- What is NFS? What is its job?
- What is CVS? List some useful CVS commands?
- How do you debug a core dump?
- How would you create shared and dynamic libraries?
- What are the differences between Shared and Dynamic libraries?
- Give examples of how memory leaks can occur with c programs?
- Give examples of how memory leaks can occur with c programs?
- Explain the Unix file system?
- How would you remove a semaphore / shared memory whose owner processes have died?
- What is stty used for?
- What type of scheduling is used in Unix?
- Explain difference between IPC mechanisms?
- Construct pipes to execute the following jobs?
Advertising