linux echo 向文件中追加信息

来源:互联网 发布:淘宝客服售中要求 编辑:程序博客网 时间:2024/04/26 19:44
song@ubuntu:~$ more test.py
1
2
song@ubuntu:~$ echo 825 >>test.py
song@ubuntu:~$ echo '523' >>test.py
song@ubuntu:~$ echo hello python >>test.py
song@ubuntu:~$ echo 'hello world' >>test.py
song@ubuntu:~$ more test.py
1
2
825
523
hello python
hello world
song@ubuntu:~$ 
1 0