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 |
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
What does egrep mean?
How to enable the shell to know what program should be run to interpret the script?
I have 2 files and I want to print the records which are common to both.
How to customise the other shell?
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
Is bash an operating system?
Write a shell program to test whether a given number is even or odd?
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.
Why do we use shell scripting?
What is the syntax of while loop in shell scripting?
How will you pass and access arguments to a script in linux?