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 |
What is MUTEX?
How to group the commands in shell scripting?
Is shell scripting a language?
write a shell script to identify the given string is palindrome or not?
17 Answers CTS, HP, IBM, InfoEst, Wipro,
What shell is bin sh?
What is a file basename?
If one dont know how to create a script then how he/she can use the QTP?
What is sudo command?
Hi All, Is it possible to create one file name only space or space in file name in UNIX and we can able to run that on Unix?
What is gui scripting?
c program to check whether all the directories in the path exists has read and write permission
How do you create a shortcut in linux?