2011年11月11日 星期五

替換資料夾底下所有檔案中的所有字串

find ./ -type f -exec sed -i 's/string1/string2/' {} \;

沒有留言:

張貼留言

How to use simple speedtest in RaspberryPi CLI

  pi@ChunchaiRPI2:/tmp $  wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --2023-06-26 10:4...