차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
linuxfromscratch:shellcommand [2024/04/09 10:00] – [grep example] baecy | linuxfromscratch:shellcommand [2024/04/29 15:28] (현재) – [wget] baecy | ||
---|---|---|---|
줄 3: | 줄 3: | ||
<code lang=bash> | <code lang=bash> | ||
alias dirfind=" | alias dirfind=" | ||
- | |||
dirfind | wc -l ## 디렉토리 갯수 확인 | dirfind | wc -l ## 디렉토리 갯수 확인 | ||
rm -rf $(dirfind) | rm -rf $(dirfind) | ||
- | </ | + | ## 설치 완료된 패키지 디렉토리만 삭제할거면 다음과 같이 |
+ | alias SearchAndDestroy=' | ||
==== 2. SBU 측정 ==== | ==== 2. SBU 측정 ==== | ||
줄 12: | 줄 12: | ||
## 현재 디렉토리+생성시간을 추가해서 로그파일 작성 | ## 현재 디렉토리+생성시간을 추가해서 로그파일 작성 | ||
alias lfslog=' | alias lfslog=' | ||
- | time { ./configure .... && make && make install; } | lfslog | + | time { ./configure .... && make && make install; } | lfslog </ |
- | </ | + | |
줄 116: | 줄 115: | ||
/ | / | ||
/ | / | ||
- | / | + | / |
참고 | 참고 | ||
줄 130: | 줄 129: | ||
/ | / | ||
/ | / | ||
- | / | + | / |
+ | |||
+ | ==== wget ==== | ||
+ | <code lang=bash> | ||
+ | # -r / --recursive : 디렉토리 대상 | ||
+ | # -np / --no-parent : 상위 제외 | ||
+ | # -R / --reject : 해당 파일 제외 | ||
+ | # -P / --directory-prefix=PREFIX : PREFIX/.. 에 파일 저장 | ||
+ | wget -r -np -R " | ||
+ | |||
+ | ==== Firmware Blob Kernel config ==== | ||
+ | <code lang=bash> | ||
+ | echo CONFIG_EXTRA_FIRMWARE='" | ||
+ | make oldconfig | ||
+ | </ |