terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user@linux:~$
chmod (파일 권한)
ls -l과 chmod로 파일 권한을 확인하고 변경하는 방법을 배웁니다.
단계 1
ls -l을 사용하여 파일 권한을 확인하세요.
입력: ls -l documents/readme.txt
ls -l documents/readme.txt
단계 2
chmod 755로 readme.txt를 실행 가능하게 만드세요 (rwxr-xr-x).
단계 3
ls -l로 권한 변경을 확인하세요.
단계 4
chmod 644로 기본 권한을 복원하세요 (rw-r--r--).
단계 5
setup.sh의 권한을 확인하세요 - 이미 실행 가능해야 합니다.