gpt4 book ai didi

ubuntu:定位命令返回错误结果

转载 作者:行者123 更新时间:2023-12-04 18:40:22 27 4
gpt4 key购买 nike

这是完整的场景:

dev@ubuntu:~$ locate php.ini
/etc/php/5.6/apache2/php.ini
/etc/php/5.6/cli/php.ini
/etc/php/7.2/apache2/php.ini
/etc/php/7.2/cli/php.ini
/home/dev/htdocs/mweb-centralhubapi/vendor/doctrine/cache/tests/travis/php.ini
/home/dev/htdocs/mweb-centralhubapi_old/vendor/doctrine/cache/tests/travis/php.ini
/home/dev/htdocs/mweb-environment-status/vendor/doctrine/cache/tests/travis/php.ini
/home/dev/htdocs/mweb-jobsapi/vendor/doctrine/cache/tests/travis/php.ini
/mnt/hgfs/mweb/mweb-data/vendor/doctrine/cache/tests/travis/php.ini
/mnt/hgfs/mweb/testCaces/vendor/doctrine/cache/tests/travis/php.ini
/usr/lib/php/7.0/php.ini-development
/usr/lib/php/7.0/php.ini-production
/usr/lib/php/7.0/php.ini-production.cli
/usr/lib/php/7.2/php.ini-development
/usr/lib/php/7.2/php.ini-production
/usr/lib/php/7.2/php.ini-production.cli
dev@ubuntu:~$ sudo rm /etc/php/5.6/apache2/php.ini
rm: cannot remove '/etc/php/5.6/apache2/php.ini': No such file or directory

当我尝试删除文件时它说:没有这样的文件

最佳答案

通过命令切换到root用户:

su - root
updatedb

我希望它会奏效。

关于ubuntu:定位命令返回错误结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48746556/

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