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
- grep
- ssh
- Eclipse
- 공통표준용어
- lsof
- maVen
- profile
- JavaScript
- Quartz
- IntelliJ
- tomcat
- Source
- port
- bash
- VirtualBox
- Mac
- 단축키
- DB 도메인
- xargs
- Windows 10
- web.xml
- 네트워크
- Windows
- copy-dependencies
- context
- GIT
- resource
- import
- netsh
- find
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