快捷搜索:   服务器  安全  linux 安全  MYSQL  dedecms

Linux中设置隐藏文件的方法

本文将介绍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

  目录的隐藏也是一样

本文作者:未知

顶(0)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论