bash - linux time 命令,为什么一定要指定绝对路径,
仅有的幸福
仅有的幸福 2017-04-24 15:59:12
0
2
774

比如 { time mysqldump > bak.sql; } 2> t.txt

mysqldump 一定要写绝对路径, 否则,bak.sql是空的。

仅有的幸福
仅有的幸福

reply all(2)
Peter_Zhu

It seems that your environment variables are wrong. Use env | grep PATH to check whether the paths corresponding to time mysqldump and other commands are in your PATH

滿天的星座

Do you need an absolute path to run mysqldump normally?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!