运维网's Archiver
论坛
›
Shell/Powershell
› 16/11/2017 shell学习笔记
jiabanl
发表于 2018-8-24 09:19:52
16/11/2017 shell学习笔记
#!/bin/bash
start=$(date +%s)
commands;
statements;
end=$(date +%s)
difference=$(( end - start ))
echo Time taken to execute commands is $difference seconds.
页:
[1]
查看完整版本:
16/11/2017 shell学习笔记