[英]What is the unix command to find catalina.out file in /var directory?
What is the unix command to find catalina.out file in /var directory ? 在/ var目录中找到catalina.out文件的unix命令是什么? I tried the below :
我尝试了以下方法:
find /var -name “catalina.out”
But I am getting error Permission denied. 但我收到错误权限被拒绝。
That error is due to lack of permissions, which depending on your system configuration, distribution etc... If this is a case of your own Ubuntu machine, then sudo
-ing the command might get you something, so try: 该错误是由于缺少权限所致,这取决于您的系统配置,发行版等。如果这是您自己的Ubuntu计算机的情况,那么
sudo
-ing命令可能会让您有所收获,因此请尝试:
sudo find /var -name "catalina.out"
and provide your login password when asked. 并在询问时提供您的登录密码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.