end of file 썸네일형 리스트형 EOF를 사용한 간단한 셸 스크립트의 예시 EOF를 사용한 간단한 셸 스크립트의 예시 리눅스 셸 스크립트에서 EOF(End Of File)는 주로 여러 줄의 명령어를 한 번에 실행하거나 다른 프로그램에 입력을 제공하는 데 사용됩니다. 일반적으로 더보기 [draft] Shell Script에서 EOF(End Of File) 사용하는 방법 Shell Script에서 EOF(End Of File) 사용하는 방법덮어쓰기(파일이 없으면 생성됨)file1.txtcat file1.txthelloworldEOF$ cat file1.txthelloworldfile2.txtcat file2.txtHelloWorldEOF$ cat file2.txt HeeeoWoredfile3.txtcat > file3.txt $ cat file3.txt helloworld추가(파일 끝에 붙이기)file5.txtcat > file5.txt helloworldEOFcat > file5.txthelloworldEOF$ cat file5.txt helloworldhelloworldfile6.txtcat >> file6.txt cat >> .. 더보기 이전 1 다음