← 返回命令列表

Linux command

tracexec 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Trace all exec calls made by bash

tracexec log -- bash

Launch TUI mode to trace a build system

tracexec tui -- make

TUI mode with pseudo terminal

tracexec tui -t -- bash

说明

tracexec helps you figure out what and how programs get executed when you run a command. It is useful for debugging build systems, understanding shell scripts, and tracing what programs proprietary software runs. In TUI mode with a pseudo terminal, you can view exec event details and interact with processes.

FAQ

What is the tracexec command used for?

tracexec helps you figure out what and how programs get executed when you run a command. It is useful for debugging build systems, understanding shell scripts, and tracing what programs proprietary software runs. In TUI mode with a pseudo terminal, you can view exec event details and interact with processes.

How do I run a basic tracexec example?

Run `tracexec log -- bash` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more tracexec examples?

This page includes 3 examples for tracexec, plus related commands for nearby Linux tasks.