shell 常用知识点---------------------------------------
eg: echo 123 > sed.txt sed -i "s/123/456/" sed.txt cat sed.txt droid05@Exdroid:~/myworkspace/sed$ cat sed.txt 456
sed -n '1,np' <file>
eg: echo 123456 > sed.txt sed -n '1p' > sed.log cat sed.log 1
2024-11-07