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.
我想在 ubuntu 中查找修改文件的详细信息,例如大小、权限和修改时间,并在 cpanel 中设置 cron 作业,我这样使用过
find /home1/sitename/public_html/ -type f -ctime -1 -exec ls -ls {}
也像这样
find /home1/sitename/public_html/-type f -ctime -1 -exec ls -ls {} \;
但它不工作。
现在我想要修改文件的所有细节。
尝试这个 :
find /home1/sitename/public_html/-type f -ctime -1 | xargs ls -ls