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 |
Tags
- tomcat
- bash
- import
- plugin
- Quartz
- JavaScript
- Windows 10
- lsof
- GIT
- xargs
- Eclipse
- vscode
- IntelliJ
- profile
- grep
- 네트워크
- ssh
- resource
- 줄바꿈 문자
- web.xml
- Windows
- find
- context
- netsh
- VirtualBox
- Source
- port
- Mac
- maVen
- 단축키
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