我正在使用debian.使用time命令运行我的程序,并希望将时间结果写入文件,执行如下操作:
时间./myprog> out.asc
./myprog的输出写入out.asc但不是时间的结果.有没有办法把时间的输出发送到out.asc?感谢名单!
linux time sh
linux ×1
sh ×1
time ×1