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



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

Answer / 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

More Shell Script Interview Questions

how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example

4 Answers  


What does egrep mean?

0 Answers  


How to enable the shell to know what program should be run to interpret the script?

3 Answers  


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

0 Answers  


How to customise the other shell?

2 Answers   Quest,






write a non recursive shell script that accepts any number of arguments and prints them in the reverse order

3 Answers  


Is bash an operating system?

0 Answers  


Write a shell program to test whether a given number is even or odd?

8 Answers  


How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.

5 Answers   Wells Fargo,


Why do we use shell scripting?

0 Answers  


What is the syntax of while loop in shell scripting?

0 Answers  


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

0 Answers  


Categories