Replace with the specified command using the current environment variables

exec

  • Replace the current process with another process.
    More information: <https://linuxcommand.org/lc3_man_pages/exech.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

exec {{command -with -flags}}

click the source code to copy install exec on any operating system with command-not-found.com