linux下修改文件的隐藏属性
首先建立一个测试文件
  [root@cacti test]# touch test
  [root@cacti test]# ls
  test
  然后我将test文件隐藏
  [root@cacti test]# mv test .test
  [root@cacti test]# ls
  可以看出文件看不见了,用ls –a 即可看见
  [root@cacti test]# ls -a
  . .. .test
  然后再将隐藏文件显示出来
  [root@cacti test]# mv .test test
  [root@cacti test]# ls
  test
目录的隐藏也是一样
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号