跳转到内容

Shell 小抄

  • cd、pwd、ls / dir
  • cp、mv、rm(删除请格外小心)
Terminal window
command > out.txt # 覆盖写
command >> out.txt # 追加
Terminal window
export PATH="/usr/local/bin:$PATH"
echo $PATH
  • man ls
  • ls --help