Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

codingfarm

rmdir(remove directory) 본문

Linux/기본명령어

rmdir(remove directory)

scarecrow1992 2020. 10. 18. 19:45

manpages.ubuntu.com/manpages/focal/en/man1/rmdir.1.html

  • 디렉터리를 삭제한다.
rmdir [option] directory

  • rmdir 명령어로 디렉터리가 삭제되었음이 확인됨

 

주의

  • rmdir명령어로 디렉터리를 삭제하려면 해당 디렉터리가 비어있어야 한다.

  • ls -R 명령어로 from 디렉터리가 비어있지 않음을 확인
  • rmdir 로 from이 삭제가 되지 않음이 확인됨
  • 비어있지않은 디렉터리의 삭제는 rm명령어로 해야한다.

 

 

 

'Linux > 기본명령어' 카테고리의 다른 글

more  (0) 2020.10.18
cat(catenate)  (0) 2020.10.18
mkdir(make directory)  (0) 2020.10.18
ls (list)  (0) 2020.10.18
file 명령  (0) 2020.10.18
Comments