timeout
timeout 命令 - 限时运行命令
限时运行命令
进程管理

⌨️ 命令语法

timeout [时间] 命令

⚙️ 常用参数

-s指定信号

💡 实战示例

  • $ timeout 10s command
    最多运行10秒

🔗 相关命令