Linux append command to end of file
//echo后边用单引号包围要添加的内容
echo 'add content'>>/home/data/test.sh
- 1
- 2
Note: >> is an append
echo 'add content'>/home/data/test.sh
- 1
Note: > is to delete the original content, add
Linux append command to end of file
//echo后边用单引号包围要添加的内容
echo 'add content'>>/home/data/test.sh
Note: >> is an append
echo 'add content'>/home/data/test.sh
Note: > is to delete the original content, add