gpt4 book ai didi

linux - ` time ./AnyExecutable` 在 Linux 或 bash 脚本中意味着什么?

转载 作者:太空宇宙 更新时间:2023-11-04 06:00:25 25 4
gpt4 key购买 nike

我是 shell 脚本新手。我想知道以下是什么意思。为什么要写时间

时间./AnyExecutable

最佳答案

根据手册页:

       time run the program COMMAND with any given arguments ARG....  When
COMMAND finishes, time displays information about resources used by
COMMAND (on the standard error output, by default). If COMMAND exits
with non-zero status, time displays a warning message and the exit
status.

关于linux - ` time ./AnyExecutable` 在 Linux 或 bash 脚本中意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42483197/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com