Unix/Linux programming Question:
Download Questions PDF

How would you remove a semaphore / shared memory whose owner processes have died?

Answer:

ipcrm -sem id ; for semaphores
ipcrm -shm id ; for shared mem

Download Unix/Linux programming Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the Unix file system?What is stty used for?