zsh
powershell
- 找到, 或创建
$PROFILE文件:- 在powershell里直接输入
$PROFILE查看路径 - 创建:
New-Item -Path C:\MyFolder -Name "Example.txt" -ItemType File - 查看:
cat - 写入:
Set-Content -Path "NewFile.txt" -Value "This is a test file."
- 在powershell里直接输入
- 打开文件
Work, Experiments and Ideas.
$PROFILE 文件:
$PROFILE 查看路径New-Item -Path C:\MyFolder -Name "Example.txt" -ItemType FilecatSet-Content -Path "NewFile.txt" -Value "This is a test file."