Mac OS 操作系统专题

摘要

  • The History
  • Overview of the Mac
  • Application and Development
  • Future

This article is part of an Mac Operating System tutorial series. Make sure to check out my other articles as well:

The Big Picture

The History

Overview of the Mac

快键键

1
2
3
4
5
6
7
8
9
10
11
⌘——Command ()

⌃ ——Control

⌥——Option (alt)

⇧——Shift

⇪——Caps Lock

fn——功能键

Basic Commands

操作 Linux Mac Windows
字符匹配 grep grep findstr
查看网卡 ifconfig ifconfig ipconfig
查看网络路由 route -n
netstat -ar
netstat -ar route PRINT
查看网络连接 netstat -an netstat -an netstat -an
更新动态库 ldconfig update_dyld_shared_cache ——
hosts /etc/hosts/
/private/etc/hosts
——-
debug strace dtruss ——-
查看库依赖 ldd otool -L ——
进程管理 ps ps tasklist
进程管理 kill kill taskkill /pid /T /F
环境变量 env [print]printenv
[init] ~/.bash_profile
压缩加密 zip -e ./jiami.zip aa.txt

磁盘管理

  • diskutil
1
2
3
4
5
$ diskutil list
$ diskutil mountDisk /dev/disk2
Volume(s) mounted successfully
$ diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful

网络管理

  • NAT
1
2
3
4
/Library/Preferences/VMware Fusion/vmnet8/nat.conf
# NAT gateway address
ip = 192.168.213.2
netmask = 255.255.255.0

Application and Development

Personal Level

Enterprise Level

Hardware

扩展阅读

参考文献

欢迎扫码关注微信公众号获取最新动态,读者交流 QQ 群:338272982 。

推荐文章