记录:mac上的一些小技巧

1 如何在finder终打开指定的目录

方法一:打开finder按shift+command+g, 打开go to folder输入目录的路径。

方法二:打开terminal,cd到指定的目录,然后输入“open .”。

2 快捷键

command+r: 刷新网页

两个手指点击:右键菜单

两个手指滑动:滑轮(上下滑动)或后退(左右滑动)

fn+->: 滚到网页开头

fn+<-: 回到网页开头

command + ->: end

command + <-: home

command + option + esc: 打开任务管理器(用来强制退出程序)

3 Apache (mac自带,不需安装)

启动apache: sudo apachectl start

配置文件:/etc/apache2/httpd.conf

根目录:可以在配置文件里找到,搜索DocumentRoot

原文地址:https://www.cnblogs.com/chunyih/p/4032357.html