About 2,380,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. What does `exec "$@"` do? - Unix & Linux Stack Exchange

    Sep 5, 2018 · The exec will replace the current process with the process resulting from executing its argument. In short, exec "$@" will run the command given by the command line parameters …

  3. 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?

  4. What are the uses of the exec command in shell scripts?

    The exec built-in command mirrors functions in the kernel, there are a family of them based on execve, which is usually called from C. exec replaces the current program in the current …

  5. 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 …

  6. 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 …

  7. shell - Understanding the -exec option of `find` - Unix & Linux …

    Sep 1, 2017 · Using -exec in combination with sh -c The command that -exec can execute is limited to an external utility with optional arguments. To use shell built-ins, functions, …

  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. shell - What are the differences of system (), exec () and shell_exec ...

    May 31, 2012 · exec(); shell_exec(); but what are their differences? In spite of their specific applications, in most cases, the can be equally used. I am curious to know which is preferred …

  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.