GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  Shell Scripting
Go To First  |  Previous Question  |  Next Question 
 Shell Scripting  |  Question 21 of 47    Print  
What is the difference between writing code in shell and editor?

  
Total Answers and Comments: 5 Last Update: October 03, 2006     Asked by: chitrabanu 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 28, 2006 06:16:57   #1  
Anand P Mishra        

RE: what is the difference between writing code in she...

Code in the script (Shell is interprted) as shell is a interpreter

where as editor is not inter preter certain set of commands(predefined)

are used to handle editor


 
Is this answer useful? Yes | No
February 17, 2006 16:26:14   #2  
Ratnesh Mishra        

RE: what is the difference between writing code in she...
Can u Explane it In Detail i mine with a Example
 
Is this answer useful? Yes | No
March 07, 2006 10:10:52   #3  
Sateesh        

RE: what is the difference between writing code in she...
In editor we can save the text. In shell we can't. For instance we given the file name sample.shHere we have to change the permissions and then we have to execute. Ok Suppose we created so many files and we have to change the permissions for each one.For this we can write a function in the shell and we can execute it by passing the name of the function in the shell itself. No need to go to editor.This is the main difference that what i have find.
 
Is this answer useful? Yes | No
September 13, 2006 02:13:55   #4  
vishwa        

RE: what is the difference between writing code in she...
when we write a command in shell we are directly submitting it to the shell it will directly submits it to the default shell where as in the script we can change the interpreter shell by using the Hash Bang line.
 
Is this answer useful? Yes | No
October 03, 2006 01:53:22   #5  
Anand kulkarni        

RE: what is the difference between writing code in she...
in shell we cannot edit the text whereas in the editor it is possible to edit the text
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape