mac使用 —— win转mac的记录

  1. 文件管理

mac沿用了unix的文件树设计,每个文件都有其父文件,最终父文件为根目录。

mac的应用以资源库的方式管理文件,资源库本质也是一个文件夹

常用命令:

cd dirname: ~当前用户根目录, ..退回

pwd:当前路径,ls目录内容

mkdir 新建,rmdir 删除,mvdir dir1 dir2 移动或重命名

open filename 打开文件(使用默认程序,cat直接打开或连接)

cp file1 file2 复制

rm filename 删除

mv file1 file2 移动或重命名

可以直接在终端使用vim/gedit查看或编辑文本文件

  1. 命令

    和Linux相似

    下载 (brew update) brew install ...

ps 当前进程, kill -PID -TTY 结束进程

截图: command+shift+3 全屏 command+shift+4 选取屏幕

  1. 常用shortcut

文件夹⌘Command - ⇧Shift -.显示隐藏文件

Command 代替windows中使用ctrl的各种操作

窗口类:

command+H 隐藏,没有关闭

Command+option+H 除了当前窗口,其他隐藏

command+w 最小化

访达:

command+shift+G 前往文件夹

command+箭头 进入/回退

command+shift+N 新建文件夹

相关推荐
pe7er4 天前
macOS 应用无法打开(权限问题)解决方案
macos·mac
harmful_sheep6 天前
mac生效的终端查看
macos
iOS门童7 天前
macOS 应用"已损坏"无法打开?一文搞懂 Gatekeeper 与解决方案
macos
NPE~7 天前
[工具分享]Maccy —— 优雅的 macOS 剪贴板历史管理工具
macos·教程·工具·实用工具
差不多程序员7 天前
Mac安装OpenClaw-cn保姆级教程
macos
dzl843947 天前
mac 安装python
开发语言·python·macos
Bruce_Liuxiaowei7 天前
在 macOS 上通过 Docker 本地安装 OpenClaw 完整教程
macos·docker·容器·openclaw
阿捏利7 天前
详解Mach-O(十五)Mach-O __DATA_CONST
macos·ios·c/c++·mach-o
ShikiSuen7 天前
macOS 的 CpLk 中英切换卡顿的元凶在 InputMethodKit 本身
macos
xiayutian_c7 天前
如虎添翼-MacOS
macos