About 2,400,000 results
Open links in new tab
  1. Please explain the exec () function and its family

    May 21, 2020 · What is the exec() function and its family? Why is this function used and how does its work? Please anyone explain these functions.

  2. bash - What does an "exec" command do? - Ask Ubuntu

    Sep 18, 2014 · I have seen exec command used inside scripts to redirect all output to a file (as seen in this). But in simple words, what does it do?

  3. Difference between exec, execvp, execl, execv? - Stack Overflow

    Apr 18, 2019 · Possible duplicate of What are the different versions of exec used for in C and C++?, What is the difference between the functions of the exec family of system calls like exec …

  4. c - Differences between fork and exec - Stack Overflow

    Oct 31, 2009 · The use of fork and exec exemplifies the spirit of UNIX in that it provides a very simple way to start new tasks. Note the use of the word task here, I have deliberately avoided …

  5. command line - What does 'exec' do? - Ask Ubuntu

    The exec you have executed is a shell built-in : $ type -a exec exec is a shell builtin Now from help exec : Replace the shell with the given command. Execute COMMAND, replacing this …

  6. What does set -e and exec "$@" do for docker entrypoint scripts?

    Jan 4, 2018 · At the exec line entrypoint.sh, the shell running as pid 1 will replace itself with the command server start. This is critical for signal handling. Without using exec, the server start …

  7. understanding bash "exec 1>&2" command - Stack Overflow

    Oct 1, 2012 · function example() { exec 1>&2 cat <<EOT Script requires at least one parameter. EOT exit 1 } As I understand, exec 1>&2 means that everything from this point one will be …

  8. Difference between "system" and "exec" in Linux? - Stack Overflow

    Nov 8, 2009 · What is the difference between system and exec family commands? Especially I want to know which one of them creates child process to work?

  9. What is the difference between the functions of the exec family of ...

    Dec 29, 2013 · exec () family of functions replaces existing process image with a new process image. This is a marked difference from fork () system call where the parent and child …

  10. docker - What are shell form and exec form? - Stack Overflow

    Dec 20, 2017 · CMD: exec form Shell features, variable substitution, signal trapping and forwarding, command and entrypoint concatenation are explained with examples in the below.