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

I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

754


Which scripting language is best for automation?

536


Suppose you execute a command using exec, what will be the status of your current process in the shell?

580


What is console line?

572


What makes c shell a more preferable option than the bourne shell?

540






What are the 3 standard streams in linux?

572


What is shell terminal?

547


I have 2 files and I want to print the records which are common to both.

698


What does $@ mean bash?

668


How to get the first line from a file using just the terminal?

597


Calculate a real number calculation directly from the terminal and not any shell script.

658


How to print all the arguments provided to the script?

557


How will you pass and access arguments to a script in linux?

586


What is in a script?

569


How do you debug a script?

567