Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是脚本部分的新手。我正在运行一个触发 shell 脚本文件的 cron 作业。在文件里面我有下面的命令来删除文件 pbrun rm -f {some file location}
pbrun rm -f {some file location}
我必须使用 pbrun,因为文件具有 root(我没有)和 pbrun 所需的权限。手动运行相同的命令会删除所需的文件,但通过脚本运行它不起作用。