파일을 크기를 0으로 만드는 쉘스크립트
파일 크기를 0으로 만드는 스크립트는 각종 로그 파일을 0으로 만들어 줄 때 사용될 수 있다.
# 코드
#!/usr/bin/csh # usage : % zero file1 file2 file3 ... set num = $#argv while ( $num > 0 ) cp /dev/null $1 shift @ num-- end
[출처] https://www.hooni.net/xe/578
#!/usr/bin/csh # usage : % zero file1 file2 file3 ... set num = $#argv while ( $num > 0 ) cp /dev/null $1 shift @ num-- end
[출처] https://www.hooni.net/xe/578
[unix] 쉘 스크립트 예제 모음
[c] 메시지큐(Message Queue) 설명.. (joinc)
[c] 64bit 머신에서 inet_ntoa() 사용시 Segment fault 대처 방법법
[iphone] 아이폰 어플 모음 ㅋㅋ
[unix] 로그파일 정리 쉘스크립트
Mac OS 에 Jenkins 설치하기 (Homebrew)
[c] 프로세스 검사하기
[ios][swift] 초간단 카달로그 앱 (Catalog App)
[ios] UUID 생성 + Key Chain 연동
[android] dp, px 서로 변환
XML, JSON, BSON, MSGPACK 장,단점 비교
[ios] 기본 네비게이션바의 타이틀, back버튼 위치와 속성 변경
[matlab] ZigZag-Scanning (2-D Array)
[ios] 웹뷰 history.back() ㅋㄷ
[ios] 동영상 플레이어 샘플 (for Remote Url)
[ios] Requesting Location Permissions in iOS