cat >> test2 << eof
something
hello world
eof
$ cat >> test.sh << EOF
> #!/bin/sh
> echo "hello shell"
> /bin/bash --login
> EOF
$ cat test.sh
#!/bin/sh
echo "hello shell"
/bin/bash --login
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |