Windows

All the files are located under this directory by default:

Windows Vista, 7, 8, 10:

<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Windows XP:

<SYSTEM DRIVE>\Documents and Settings\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Sample paths for different products

Under this directory you'll find the following sub-directories

config: configuration (idea.config.path)

configplugins: plugins (idea.plugins.path)

system: caches, local history, etc (idea.system.path)

systemlog: logs and thread dumps (idea.log.path)

You can find more details about what is stored in each folder in the Project and IDE Settings documentation section.

Linux and other Unix systems

Product directory starting with dot can be found in your user home directory, the pattern is:

 ~/.<PRODUCT><VERSION>

~ is an alias for the home directory, for example /home/john.

Mac OS X

Configuration (idea.config.path):

~/Library/Preferences/<PRODUCT><VERSION>

Caches (idea.system.path):

~/Library/Caches/<PRODUCT><VERSION>

Plugins (idea.plugins.path):

~/Library/Application Support/<PRODUCT><VERSION>

Logs (idea.log.path):

~/Library/Logs/<PRODUCT><VERSION>

Server: Ubuntu

终端下输入sudo vim /etc/ssh/sshd_config,找到:

UseDNS yes
GSSAPIAuthentication yes

将上面的 yes 改为no, 如果没有找到这两个配置项,在该文件底部增加即可,然后输入命令sudo service ssh restart重新登录,速度快了很多

方法1:

ifconfig wlan0|sed -n 2p|awk  '{ print $2 }'|awk -F : '{ print $2 }'

方法2:

ifconfig wlan0|sed -n 2p|awk  '{ print $2 }'|tr -d 'addr:'

将wlan0换成想要获取的网卡名即可