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 新建文件夹

相关推荐
ITKEY_17 小时前
macOS brew 安装的nginx 文件在哪里?
运维·nginx·macos
大E帝国子民118 小时前
MacOS 安装Seismic Unix
服务器·macos·unix
z***刺1 天前
VMware安装macOS安装教程(附安装包)2025超详细下载安装教程
其他·macos
ReaF_star1 天前
【工具】把 eDiary 改造成了“云日记本”:两台 Mac 同步笔记的折腾记录
macos·效率工具·文件同步·icloud drive·ediary·mac 自动化
狂热开发者1 天前
用 Typeoff 把会后口述整理成 Markdown 决策记录
人工智能·windows·macos·ios·安卓
ofoxcoding1 天前
Codex Computer Use 完整指南:AI 自动操控 Mac 与 Windows 桌面实战详解
人工智能·windows·macos·ai
孫治AllenSun1 天前
【RocketMQ】Mac安装
macos·rocketmq
ClassOps1 天前
MacOS右键助手 Ghostty 打开新窗口
macos·右键助手
小牛不牛的程序员1 天前
开源一个 macOS 剪贴板「意图识别」工具——不只是存储,更是理解你复制了什么
macos·swift
sg_knight1 天前
Claude Code 安装指南(macOS / Linux / Windows WSL)
linux·windows·macos·claude·code·anthropic·claude-code