MacOS 如何剪切文件


MacOS 如何剪切文件

MacOS 剪切文件

  1. command + C 复制

  2. 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


Flag Counter

&copyxgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM