Blog List
Travel
Journal
When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees.
webhost2
2025년 04월 16일
linux / 리눅스 서버관리
0
netstat -ant | awk ‘{print $5}’ | cut -f 1 -d : | sort | uniq|wc -l 서버에 접근하는 ip들 보기
Continue Reading
#uname -a 하시면 됩니다. Linux kkamagi2 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:04 EDT 2007 i686 i686 i386 GNU/Linux 32bit시에 위와 같이 뜨고.. 64bit시에는. x86 64로 나올 꺼예요
Continue Reading
$ find . -name “b*” -exec rm -rf {} \; 현재 디렉토리(.) 하부에 b로 시작하는 파일은 모두 삭제하라 $ find . -name “*” -exec rm -rf {} \; 이렇게 하면 현재 폴더하부모든파일 및 폴더 삭제 -atime : 파일을 열어본 시간 또는 디렉토리에 cd 명령으로 접근한 시간-mtime : 파일의 내용이 변경된 시간 ls -l 에서 나오는 시간-ctime : 파일의 정보가 변경된 시간 chmod chown과 연관성이 있음 우리가 보통 사용하는 단위는 ls로 보기때문에 mtime 이 맞다. find . -mtime +15 -exec rm -rf {} \; […]
Continue Reading

WEBHOST INTERNET SERVICE