Delete file

Jmnote (토론 | 기여)님의 2014년 8월 31일 (일) 15:57 판 (새 문서: category: File ;unlink ;rm ==Bash== category: Bash <source lang='Bash'> touch /tmp/a.txt if [ ! -f /tmp/a.txt ]; then echo 'File not found'; fi rm -f /tmp/a.txt if [ ! -f /tm...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
unlink
rm

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
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}