问题:linux下,使用file命令发现提示command not found

 

解决:需要安装,执行命令:yum -y install file

        安装后再次查看,file命令就可以使用了

注意:当执行的时候需要切换到root权限,否则会有如下提示