리눅스에서 파일 사이즈 0으로 만드는 명령어
파일이름이 filename.log인 경우 아래와 같이 쓰면 된다.
cat /dev/null > filename.log
'linux' 카테고리의 다른 글
apache에서 tomcat 설정. (0) | 2016.03.29 |
---|---|
curl 이용하기 (0) | 2015.09.03 |
리눅스 find cp 혼합 (0) | 2015.07.29 |
traceroute 명령어 (0) | 2014.12.10 |
ssh, sftp 명령어.. (0) | 2014.06.11 |