글
Programming/Python 2017. 11. 29. 10:50사내에서 pip install 사용하기
windows에서 쓸때.
set http_proxy=168.219.61.252:8080
set https_proxy=168.219.61.252:8080
python -m pip install --trusted-host pypi.python.org [pkgname]
하면 진행가능.
트랙백
댓글
글
Programming 2015. 4. 3. 08:45find를 이용해서 파일 내용 검색하기
find /path -name "*.log" | xargs grep pattern
파일내용을 검색하고 해당 파일명을 볼수있다.
트랙백
댓글
글
잡동사니 2015. 2. 10. 09:06파일 라인수 카운트하기
find랑 wc랑 엮어서 쓰는법.
find . -type f \( -name '*.c' -or -name '*.h' -or -name '*.cpp' \) -exec wc -l '{}' \; > file_lines
RECENT COMMENT