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."
  • 打开文件