Chattr

chattr
원저자Remy Card
운영 체제리눅스
플랫폼크로스 플랫폼
종류명령어

chattr는 사용자가 파일의 특정 특성을 설정할 수 있게 해주는 리눅스명령어이다. lsattr은 파일의 특성을 표시하는 명령어이다.

대부분의 macOS를 포함한 BSD 계열 시스템들은 특성을 설정하기 위한 유사 명령어 chflags를 무조건 갖추고 있지만 이들을 표시하기 위해 의도된 명령어는 제공하지 않는다. ls 명령어의 특정 옵션들이 이를 대신한다. chflags 명령어는 4.4BSD에 처음 등장하였다.

솔라리스는 이를 조작하기 위한 명령어가 존재하지 않는다. chmod[1]ls[2]가 이를 대신한다.

같이 보기

참고 자료

(outdated; see newer version)
  • stat.h (flags section in the BSD system source code of the macOS XNU kernel)

각주

  1. chmod(1) – 솔라리스 10 사용자 명령어 매뉴얼 페이지 참고
  2. ls(1) – 솔라리스 10 사용자 명령어 매뉴얼 페이지 참고

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.