然后按 “Ctrl + x” 来保存和退出.
$ cat t.py
print("This is a Python script!")
$ cat t.py > t1.py
$ cat t1.py
print("This is a Python script!")
$ cat t.py t1.py > t2.py
$ cat t2.py
print("This is a Python script!")
print("This is a Python script!")
$ cat t3 >> t2.py
$ cat t2.py
print("This is a Python script!")
print("This is a Python script!")
This is t3.