# cat /dev/null > Filename
# cat filetest.txt
filetest_1
filetest_2
filetest_3
# cat /dev/null > filetest.txt
'Linux > RedHat, CentOS, ubuntu' 카테고리의 다른 글
[ CentOS 7 ] openJDK 1.8 Install (0) | 2019.04.23 |
---|---|
Linux date 명령어 (날짜/시간 변경/전일구하기) (0) | 2019.04.23 |
[ CentOS 7 ] cronolog 유틸을 이용한 Access Log 날짜별 적재 (0) | 2019.04.22 |
[ CentOS 7 ] iptables service install (0) | 2019.04.19 |
Linux tar backup (0) | 2019.04.04 |
[ CentOS 7 ] Loop Back Adapter Configuration (0) | 2019.04.03 |
[ CentOS 7 ] systemctl 명령어 (0) | 2019.03.12 |
CentOS 7 hostname 호스트네임 변경 (0) | 2019.02.13 |