Unix/Linux programming Interview Questions and Answers

Unix/Linux programming Questions and Answers:

1 :: Construct pipes to execute the following jobs?

Who | echo "total users `who|wc -l`"ls | grep -c "poem" | tee filename.txtcat file1 file2 >> filetoappendto.txt??rm -rf dir1 | tee errorlog
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

2 :: Explain difference between IPC mechanisms?

Ipc mechanisms are mianly 5 types

1.pipes:it is related data only send from one pipe output is giving to another pipe input

to share resouses pipe are used

drawback:itis only related process only communicated

2.message queues:message queues are un related process are also communicate with message queues

drawback:user dont know which process curently works

share memory:memory shared in distributed systems some memory wants to share some files that time it is use full

semaphores
semaphore is integer type and in semaphore resourses give coding like negetive value means process are wants to use perticular resource waiting only and 0 means no process is waiting and 1 means one resource is free and

sockets:sockets also ipc it is comunicate clients and server

with socket system calls connection oriented and connection less also
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

3 :: What type of scheduling is used in Unix?

Multi Level Feedback Queue Scheduling with each queue in round robin.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

4 :: What is stty used for?

Sets options for your terminal.

Print or change terminal characteristics.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

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

ipcrm -sem id ; for semaphores
ipcrm -shm id ; for shared mem
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: Unix/Linux programming Interview Questions and Answers
Unix/Linux programming Interview Questions and Answers

Top Frequently Asked Unix/Linux programming Question
Frequently Asked Unix/Linux programming Job Interview Question


Top Frequently opened Operating System Job Interview categories
Most popular Operating System Job Interview categories

Comments About Unix/Linux programming Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about Unix/Linux programming Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about Unix/Linux programming Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on Unix/Linux programming Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding Unix/Linux programming Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: Unix/Linux programming Interview Questions and Answers
Comments on Unix/Linux programming Interview Questions and Answers

 
Top of Link batk to Unix/Linux programming Interview Questions and Answers
Link batk to Unix/Linux programming Interview Questions and Answers