Important Unix Shell Questions

Last Updated on Tuesday, 3 May 2011 04:08 Written by EditorSunday, 16 March 2008 12:42

Some Important Unix Shell Questions for Recent Graduates to help them in their Interview Preparations.

  1. There can be multiple Kernels and shells running on your system. True or False?
  2. Why shell is called Command Interpreter?
  3. Two UNIX systems may or may not use the same system calls. True or False?
  4. To obtain help on any feature of the system, what are the possible help sources available?
  5. Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?
  6. If two commands with the same filename exist in two directories in PATH, how can they be executed.
  7. How is the Current directory is indicated in the value of the PATH?
  8. Use the type command with the following arguments—cd, date, pwd and ls. Which are the internal commands in the list?
  9. What is the difference between an argument and an option?
  10. if the command ls –all works on your system, which flavor of UNIX could you be using?
  11. What does the secondary prompt look like and when does it appear?
  12. You located the string crontab in a man page by searching with /crontab [Enter]. How do you find out the other occurrences of this string in the page?
  13. What is a pager? Name the two standard pagers used by man.
  14. If a command doesn’t seem to complete, which key will you press to interrupt it?
  15. Do you need to wait for a command to finish before entering the next one?
  16. What do the | and the three dots in the SYNOPSIS section of these man pages indicate as shown below?
    /usr/xpg4/bin/tail [ -f | -r ]
    
    /usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ]
  17. How do you direct man to use a specific pager, say less?
  18. What is a whitespace? Explain the treatment the shell metes out to a command that contains a lot of whitespace.
  19. A Program file named foo exists in the current directory, but when we try to execute it by entering foo, we see the message foo: command not found. Explain how that can happen?
  20. What do multiprogramming, multiuser and multitasking mean?
  21. Why are many UNIX commands designed to perform simple rather than complex tasks?

Post to Twitter


Submit Interview Questions at intr[at]freshershome.com




26 Comments
1 2
  1. sent this question and answers to my mail please i am studing very low skills collage so u sent whatever u have about interview points and tips please definatly it will help to my friends also

  2. Hi all d qs r really helpfull ..can u plz send me d ans of d qs.
    thnx..

  3. if any on got the answers for the these questions then please mail me please…

    thanx….

  4. please sir,send me the answers.

  5. Can any one post the AIX Interview questions pls

  6. please give me the answers

  7. Sir;
    Can you send me the Answers of the following question it would be helpful for me as these questions are from the book UNIX by DAs please reply soon

  8. please send the answer for these questions imediately

  9. sir, can u send me question and answers in data structures,operating system,computer network,unix shell.

  10. sir the questions r helpful. can u send me the questions and answers in DS, computer architecture pls sir……….

  11. sir the questions r informative, i am a pre- final year student, pls can u send me previous tcs and wipro question and answers in c, c++,java, os,cn. pls sir ………thank u

  12. sir,this system is very very use full for unemployee,employeer, mainly college students usefull and develop the knowledege sir .i heartly welcome this system sir………….thanking you sir

  13. The questions u hav provided above r very helpful.I recommend u to send the question papers held in various places so dat i can go through…sir pls do me this favour….i hope i reply from u…thank u sir…

  14. thanks for providing free Q n A on unix
    can you please mail me Question n Answer on unix,c, c++ java and html i will be very thankful to u

    regards
    syed hashmi

  15. plz send me this question ans

  16. Sir,

    I went through the list of tech. questions posted. It would be so grateful of you if you would send me previous year cts tech. papers with answers which would be so very helpful for my placement next month.
    Thanking you,
    Amit Pal

  17. good for some people,but not for freshers…..

  18. sir,
    I went through the list of tech. questions posted.It would be so grateful of you if you would send me previous year cts tech. papers with answers which would be so very helpful for my placement next month.
    Thanking you, youresobedanly

    k.nagarajan

  19. Sir,

    I went through the list of tech. questions posted. It would be so grateful of you if you would send me previous year cts tech. papers with answers which would be so very helpful for my placement next month.
    Thanking you,
    Aravind.T

1 2

Leave a Reply