get-content命令(powershell下使用)
缩写 gc
- 输出整个文件并更新
get-content -wait readme.md
- 输出整个文件并更新,修改编码
gc -wait -encoding utf8 readme.md
- 从最后三行开始,输出整个文件并更新,修改编码
gc -wait -encoding utf8 -tail 3 readme.md
get-content命令(powershell下使用)
缩写 gc
get-content -wait readme.md
gc -wait -encoding utf8 readme.md
gc -wait -encoding utf8 -tail 3 readme.md