shell学习心得 一个有趣的小技巧

[wenhui@localhost aa]$ ls
a  b
[wenhui@localhost aa]$ cat >>haha<<i
> hello to $LOGNAME's home,
> and you are using tty $TERM.
> bybe.
> i
[wenhui@localhost aa]$ cat haha
hello to wenhui's home,
and you are using tty xterm.
bybe.
其中的“i”(可以是任意)相当于分界符,以它开始,以它结束。

 

 

你可能感兴趣的:(linux,shell,脚本,职场,休闲)