whta is the use of "exec" command?
Answer / ashu
The exec command will execute a command in place of the
current shell; that is, it terminates the current shell and
starts a new process in its place.
Use of exec command:
exec is oftenly used to execute the last command of a shell
script. This would kill the shell slightly earlier;
otherwise, the shell would wait until the last command was
finished. This practice saved a process and some memory.
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi, I want to practise Unix korn shell scripting which i learnt 2 yr bfr. plz suggest software i can use to practise.
What is subshell?
In a single command how do you run the previous command in the command prompt.
What are the Different types of shells?
HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?
defination of mapfile in winrunner?
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
When you login to a c shell, which script would be run first?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
How will you pass and access arguments to a script in linux?
Is shell a part of kernel?
What is a boot block?