How to use exec command in Unix Shell Script

By | February 27th, 2013|Operating Systems, Unix Scripting|

exec After you started up the new shell from db, you weren't interested in doing anything further after the shell finished, as evidenced by the fact that no commands followed /usr/bin/sh in the program. Instead of having db wait around for the new shell to finish, you can use the exec command to replace the [...]