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

Answer Posted / guest

If we write code in shell it is called we are using the
shell as interractive mode.
It is inconvenient to write complex code(means entering
complex or compound commands to execute by seperating
with ";" semicolon)

For our convenient and also to frame a new functionality by
using different commands we use non interactive mode of
shell that is we type code in a editor and we execute that.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is powershell a bash?

590


What is the use of "$#" in shell scripting?

550


What is a shell environment?

574


What is inside a seashell?

635


What language is bash written in?

559






Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

1707


What does it mean to debug a script?

569


How to write a function?

592


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

2031


What command needs to be used to take the backup?

528


What is the first line of a shell script called?

571


What is scripting used for?

559


Which shell is the best?

574


Can you write a script to portray how set –x works?

550


How to get script name inside a script?

546