리눅스 lsattr


개요

lsattr
/usr/bin/lsattr
  • 파일 속성을 조회하는 리눅스 명령어
[root@zetawiki ~]# lsattr /etc/hosts
------------- /etc/hosts
[root@zetawiki ~]# lsattr /etc/httpd/conf/
------------- /etc/httpd/conf/httpd.conf
------------- /etc/httpd/conf/magic
------------- /etc/httpd/conf/httpd.conf.rpmsave
[root@zetawiki ~]# lsattr /dev/null
lsattr: Operation not supported While reading flags on /dev/null

같이 보기

참고