About 162,000 results
Open links in new tab
  1. exec (3) - Linux manual page - man7.org

    The exec () family of functions replaces the current process image with a new process image. The functions described in this manual page are layered on top of execve (2).

  2. exec Command in Linux - GeeksforGeeks

    Mar 7, 2026 · The exec command in Linux is a shell built-in used to replace the current shell with another command. Unlike normal commands that start a new process, exec does not create a new …

  3. What does `exec "$@"` do? - Unix & Linux Stack Exchange

    Sep 5, 2018 · exec is to run a command in the same process as the shell. That's the last command a script will execute because after that, the process will be running another command than the shell.

  4. exec (system call) - Wikipedia

    In computing, exec is a functionality of an operating system that runs an executable file in the context of an already existing process, replacing the previous executable. This act is also referred to as an …

  5. Please explain the exec () function and its family

    May 21, 2020 · Exec () group of functions replaces the child’s address space with a new program. Once exec () is called within a child, a separate address space will be created for the child which is totally …

  6. The Exec Family of Functions | Baeldung on Linux

    Mar 18, 2024 · In this article, we’ll talk about the exec () family of functions, what they do, and the differences between them. These functions are used to execute a file, and they replace the current …

  7. Linux exec Command With Examples - phoenixNAP

    Dec 11, 2025 · The Linux exec command replaces the currently running process. Learn how to utilize the command in the terminal and through Bash scripts.

  8. exec Cheat Sheet - Command in Line

    The exec command—honestly, quite a powerful tool really—is used in both Linux and Windows. It replaces the current process with a new one, transforming the executing shell into the specified …

  9. How to use the command `exec` (with examples)

    Dec 17, 2024 · The exec command is a powerful feature in Unix-like operating systems, including Linux, that runs specified commands by replacing the current shell process with a new process for the …

  10. The “exec” Command in Linux [8 Practical Examples]

    Mar 31, 2024 · The exec command replaces the current terminal process with a new command. This command in Linux often executes specific programs or commands without creating a new process.