路径/配置文档说明
基本操作:
1. 打开terminal默认的即为当前用户路径:/Users/ssun/ (也可以用 cd ~ 打开,即~ = /Users/ssun/ )
cd .. 返回父目录
2. ls 列出当前目录下文件信息
ls -a 列出包含后缀的文件详细信息
系统变量配置:
- 属于zsh的配置
/etc/zshrc
(注意没有带点,详见注释:
# System-wide profile for interactive zsh(1) shells.
# Setup user specific overrides for this in ~/.zshrc. See zshbuiltins(1)
# and zshoptions(1) for more details.
/etc/zprofile
(注意没有带点,详见注释:
# System-wide profile for interactive zsh(1) login shells.
# Setup user specific overrides for this in ~/.zprofile. See zshbuiltins(1)
# and zshoptions(1) for more details.
2. 属于bash的配置
/etc/bashrc
(注意没有带点,详见注释:
# System-wide .bashrc file for interactive bash(1