개발자가 자주 쓰는 리눅스 명령어를 정리해주세요.
개발자 필수 리눅스 명령어:
# 파일 검색find . -name "*.js" -not -path "*/node_modules/*"grep -rn "TODO" --include="*.py" .# 디스크df -h && du -sh * | sort -rh | headncdu / # 인터랙티브 디스크 분석# 프로세스ps aux | grep nodelsof -i :3000kill -9 $(lsof -t -i :3000)# 네트워크curl -I https://example.comwget -q -O- https://example.comdig +short example.comss -tulnp# 텍스트 처리cat file.log | grep ERROR | wc -lawk '{print $1}' access.log | sort | uniq -c | sort -rn | headsed -i 's/old/new/g' file.txt# 시스템free -h && uptimehistory | grep "docker"watch -n 2 "ss -tulnp" # 2초마다 반복
댓글 1
개발자 필수 리눅스 명령어: