Enter following command in Terminal to flush the DNS cache.
- dscacheutil -flushcache
Done =)
Reference: How to Clear DNS Cache in Mac OSX Leopard
Enter following command in Terminal to flush the DNS cache.
Done =)
Reference: How to Clear DNS Cache in Mac OSX Leopard
In Mac Terminal:
I would like to set the action of the fn + left arrow as to be Home of Line as well as End of Line for fn + right arrow. So you can open the Terminal Preference –> Settings –> Keyboard Widget. Continue reading Mac – Setting Home and End of Line in Terminal
The following command could show you the character encoding set of a specific file.
file -I <filename>
Possible output:
<filename>: text/plain; charset=us-ascii
Please note that the paraemeter -I is the capital letter of i but NOT smaller letter of L.
Reference: StackOverflow – How do I determine file encoding in OSX?
Done =)