Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- xargs
- profile
- ssh
- web.xml
- Quartz
- IntelliJ
- bash
- 네트워크
- maVen
- JavaScript
- find
- grep
- Mac
- GIT
- lsof
- DB 도메인
- import
- Eclipse
- Source
- 공통표준용어
- context
- 단축키
- copy-dependencies
- Windows 10
- Windows
- port
- tomcat
- resource
- VirtualBox
- netsh
Archives
- Today
- Total
develog
[bash] warning: here-document at line 24 delimited by end-of-file (wanted `EOF') 본문
카테고리 없음
[bash] warning: here-document at line 24 delimited by end-of-file (wanted `EOF')
냐옴 2024. 2. 20. 16:01
쉘 스크립트에서 EOF 사용시 오류날 때
warning: here-document at line 24 delimited by end-of-file (wanted `EOF')
종료 EOF 왼쪽에 공백을 없앤다
sftp root@192.168.2.34 <<EOF
# 실행할 명령어
EOF # 왼쪽에 공백이 없게 적는다
sftp root@192.168.2.34 <<EOF
cd download
get ${CURRENT_DATE}_*
quit
EOF # 왼쪽에 공백이 없게 적는다
Comments