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

How to check if a directory exists?

792


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

751


What language is bash?

654


How do I run a .sh file?

798


Is shell scripting useful?

812


State the advantages of shell scripting?

824


What is the default ubuntu terminal?

826


What is shell company all about?

756


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.

2045


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

973


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

915


Is shell and terminal the same?

803


What is c in shell script?

812


What are script files?

738


What are zombie processes?

775