Linux中設定隱藏檔案的方法
阿新 • • 發佈:2019-01-04
本文將介紹linux系統隱藏檔案的設定方法:
首先我建立一個測試檔案
[[email protected] test]# touch test
[[email protected] test]# ls
test
然後我將test檔案隱藏
[[email protected] test]# mv test .test
[[email protected] test]# ls
可以看出檔案看不見了,用ls –a 即可看見
[[email protected] test]# ls -a
. .. .test
然後再將隱藏檔案顯示出來
[[email protected] test]# mv .test test
[[email protected] test]# ls
test
目錄的隱藏也是一樣
