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
What is the use of break command?
How do I stop script errors?
How do I edit a .sh file?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What does it mean to debug a script?
What is shell scripting?
How to print the first array element?
How can I send a mail with a compressed file as an attachment?
What is the use of "$#" in shell scripting?
What is the significance of the shebang line in shell scripting?
What is a shell environment?
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.
How do you debug a script?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again