同步分区表命令:
partprobe(8) or kpartx(8)
sed命令用例:
sed -i 's/import TestDevice/import TestSetting/' `find . -name "*.py"`
sed -i "s|../../../../../utils|../../../../utils|" *
sed -i '/sys.path.append("..\/..\/utils")/ a123' run/perf/Pblaze3BasicPerfLinuxRawAll.py
sed -i "/'runtime':'600',/ a\\\t'group_reporting':''," *
watch命令用例
watch -n 1 "cp 123 456"
# screen
执行命令
关掉console终端
# screen -r恢复
partprobe(8) or kpartx(8)
sed命令用例:
sed -i 's/import TestDevice/import TestSetting/' `find . -name "*.py"`
sed -i "s|../../../../../utils|../../../../utils|" *
sed -i '/sys.path.append("..\/..\/utils")/ a123' run/perf/Pblaze3BasicPerfLinuxRawAll.py
sed -i "/'runtime':'600',/ a\\\t'group_reporting':''," *
watch命令用例
watch -n 1 "cp 123 456"
# screen
执行命令
关掉console终端
# screen -r恢复