cat_eof 썸네일형 리스트형 [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 다음