Linux/command22 [Linux] sudo 명령어 sudo 명령어 정의 root권한을 빌림 sudo 명령어 사용법 sudo [command] 2022. 3. 30. [Linux] chmod 명령어 chmod 명령어 정의 디렉토리나 파일의 권한 변경 chmod 명령어 사용법 chmod [option] [name] option 1. 파일의 타입 2. 소유주(user)의 권한 3. 그룹(group)의 권한 4. 나머지 (others)의 권한 1칸에 대한 권한 d/ rwx/ r-x/ r-x - : file d : directory l : other file link p : pipe b : block device c : character device 2~4칸에 대한 권한 r : read(읽기) - 4 w : write(쓰기) - 2 x : execute(실행) - 1 - : 권한 없음 - 0 ex) drwxr-xr--x d/ rwx/ r-x/ r--x 2022. 3. 30. [Linux] rm 명령어 rm 명령어 정의 파일 삭제 rm 명령어 사용법 rm [option] option -r : 디렉토리 삭제 -rf : 경고 없이 바로 삭제 -ri : 내용을 하나하나 확인하면서 삭제 [name] : name라는 파일 삭제 * : 모든 파일 삭제 2022. 3. 30. [Linux] pwd 명령어 pwd 명령어 정의 현재 작업 중인 디렉토리 위치 표시 pwd 명령어 사용법 pwd 2022. 3. 30. 이전 1 2 3 4 5 6 다음