MAC查找JDK的路径
在控制台中输入
/usr/libexec/java_home -V
即可以看见
Matching Java Virtual Machines (2):
9.0.4, x86_64: "Java SE 9.0.4" /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
1.8.0_91, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
Mac中显示文件夹的大小
一、在Finder中查看文件夹大小:
1、Cmd+A选中当前目录下所有文件
2、在右键菜单中选择“显示选项”或者按Cmd+J快捷键
3、选择“计算所有大小”的复选框
然后文件夹的大小就会显示出来了。
二、在Terminal中查看当前目录下所有文件(包含文件夹)大小:
du -hs *
或者:
du -shc *
第二个命令能在最后显示一个Total大小,即当前目录的总大小。
git
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions and functions have been installed to:
/usr/local/share/zsh/site-functions
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/git
Your identification has been saved in /Users/damon/.ssh/id_rsa.
Your public key has been saved in /Users/damon/.ssh/id_rsa.pub.
网友评论