Using sed : sed -i 's/1/0/g' test.txt. In general: sed -i 's/oldstring/newstring/g' filename. See man sed for more info.
確定! 回上一頁