# 统计linux shell下程序执行花费时间


## linux shell下统计程序程序执行花费时间

统计`ls`花费时间

```
time ls
```

![image-20200409124311368](https://note.youdao.com/yws/public/resource/40e7acccfd342428f39d3dc7cca9ce31/xmlnote/WEBRESOURCEeb46a7ff3ae94b479112b9fc0487f53b/50)
