What is the difference between writing code in shell and editor?

Showing Answers 1 - 5 of 5 Answers

Anand P Mishra

  • Jan 28th, 2006
 

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

  Was this answer useful?  Yes

Ratnesh Mishra

  • Feb 17th, 2006
 

Can u Explane it In Detail i mine with a Example

  Was this answer useful?  Yes

Sateesh

  • Mar 7th, 2006
 

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.

  Was this answer useful?  Yes

vishwa

  • Sep 13th, 2006
 

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.

  Was this answer useful?  Yes

Anand kulkarni

  • Oct 3rd, 2006
 

in shell we cannot edit the text whereas in the editor it is possible to edit the text

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions