GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Operating System  >  Unix Programming

 Print  |  
Question:  How can you recognize a shell (C / Korn / Bourne) just by looking at the prompt?



January 01, 2008 01:49:06 #6
 jana05   Member Since: January 2008    Total Comments: 4 

RE: How can you recognize a shell (C / Korn / Bourne) just by looking at the prompt?
 
I dont think so just by looking at the prompt one can recognize the shell [inputs pls, if otherwise], however you can run small commands to get the shell that you are using
    ps -p $$

should be your answer.
     

 

Back To Question