概述
系统级别
/bin
xyzdeMacBook-Pro:bin xyz ls [ cp df hostname link mv rm stty unlink bash csh echo kill ln pax rmdir sync wait4path cat date ed ksh ls ps sh tcsh zsh chmod dd expr launchctl mkdir pwd sleep test
/sbin
xyzdeMacBook-Pro:sbin xyz ls apfs_hfs_convert fsck_hfs kextunload mount_exfat newfs_apfs quotacheck autodiskmount fsck_msdos launchd mount_fdesc newfs_exfat reboot disklabel fsck_udf md5 mount_ftp newfs_hfs route dmesg fstyp mknod mount_hfs newfs_msdos rtsol dynamic_pager fstyp_hfs mount mount_msdos newfs_udf shutdown emond fstyp_msdos mount_acfs mount_nfs nfsd umount fibreconfig fstyp_ntfs mount_afp mount_ntfs nfsiod fsck fstyp_udf mount_apfs mount_smbfs nologin fsck_apfs halt mount_cd9660 mount_udf pfctl fsck_cs ifconfig mount_cddafs mount_webdav ping fsck_exfat kextload mount_devfs mpioutil ping6
用户级别
/usr/bin
/usr/local/bin
lrwxr-xr-x 1 xyz admin 51B 8 9 2018 mysql -> /usr/local/mysql-5.7.23-macos10.13-x86_64/bin/mysql lrwxr-xr-x 1 xyz admin 68B 8 13 2018 mysql.server -> /usr/local/mysql-5.7.23-macos10.13-x86_64/support-files/mysql.server lrwxr-xr-x 1 xyz admin 51B 8 12 2018 mysql_config -> ../Cellar/mysql-connector-c/6.1.11/bin/mysql_config lrwxr-xr-x 1 xyz admin 55B 8 28 2018 mysqldump -> /usr/local/mysql-5.7.23-macos10.13-x86_64/bin/mysqldump
/usr/sbin