Ubuntu(Linux) cmake 최신 버전 설치하기

1. cmake 다운로드 홈페이지로 이동합니다. https://cmake.org/download/ Download | CMake Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us cmake.org 2. 최신버전 다운로드 파일의 링크를 복사합니다. 3. wget을 통해 로컬 공간으로 다운로드합니다. wg..

Linux/Ubuntu(리눅스/우분투) 하위 "폴더만" 삭제하기

우분투에서 뭔가 깡그리 삭제할 때에는 보통 rm -rf * 를 사용합니다. 그러나 가끔은 현재 디렉토리의 파일 말고 폴더만 삭제하고 싶을 때가 있습니다. 그럴땐 아래 명령어를 사용합시다. 현재 폴더에서 하위 폴더 모두 삭제 ll | grep ^d | awk '{print $NF}' | xargs rm -rf 특정 폴더에서 하위 폴더 모두 삭제 ll /폴더/경로/ | grep ^d | awk '{print $NF}' | xargs rm -rf