help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] When to use exec to replace the shell?


From: Peng Yu
Subject: [Help-bash] When to use exec to replace the shell?
Date: Wed, 27 Jan 2016 22:22:18 -0600

Hi,

exec can be used for two cases. One is to replace the shell with a
given program.

http://wiki.bash-hackers.org/commands/builtin/exec

But it is not clear to me beside making wrappers, whether are other
important use cases of which exec is useful.

According to this, it seems that this usage of exec is not very useful
nowadays unless one is on a computer with limited resources. Is it so?

http://docstore.mik.ua/orelly/unix/upt/ch45_07.htm

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]