返回命令列表

Linux command

pct-exec 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Execute

pct exec 100 command

Example

pct exec 100 bash

Example

pct exec 100 -- command arguments

说明

pct exec launches a command inside a specified Proxmox LXC container. It provides direct command execution without needing to enter the container interactively.

参数

--
Separator that stops `pct` from interpreting subsequent flags, so they are passed through to the command.

FAQ

What is the pct-exec command used for?

pct exec launches a command inside a specified Proxmox LXC container. It provides direct command execution without needing to enter the container interactively.

How do I run a basic pct-exec example?

Run `pct exec 100 command` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -- do in pct-exec?

Separator that stops `pct` from interpreting subsequent flags, so they are passed through to the command.