Delete file

Jmnote (토론 | 기여)님의 2014년 8월 31일 (일) 15:57 판
unlink
rm

1 Bash

touch /tmp/a.txt
if [ ! -f /tmp/a.txt ]; then echo 'File not found'; fi
rm -f /tmp/a.txt
if [ ! -f /tmp/a.txt ]; then echo 'File not found'; fi
# File not found

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}