MacOS 如何剪切文件
MacOS 剪切文件
command + C 復制
command + V 粘貼
刪除 & 粘貼
在 Windows中
Ctrl
+X
是剪切,MacOS中沒有剪切,但是有一個快捷鍵組合和剪切類似:
Command + C
Command + Option + V
使用 Command
+ C
復制后,在某個目錄下按下 Command
+ Option
+ V
即可把原來的文件刪除,並在這個目錄下創建這些文件
macOS & hosts
# vim
$ vim /usr/local/etc/nginx/nginx.conf
VS Code
# OR
$ cd /usr/local/etc/nginx
# vscode
$ code .
Nginx
# 使用 brew 安裝(如果沒有 brew 命令,需要自行安裝 brew)
$ brew install nginx
$ nginx -h
# 查看 port 占用情況
$ lsof -Pi | grep LISTEN
# 重啟 nginx
$ nginx -s reload
修改 nginx.conf 文件,添加如下配置
修改后要重啟 nginx
$ cat /usr/local/etc/nginx/nginx.conf
$ vim /usr/local/etc/nginx/nginx.conf
©xgqfrms 2012-2020
www.cnblogs.com 發布文章使用:只允許注冊用戶才可以訪問!