Monthly Archives: April 2015

.bashrc in Mac

Mac doesn’t read ~/.bashrc file when a shell starts. The order of files the shell read is  (reference:  http://hayne.net/MacDev/Notes/unixFAQ.html#shellStartup) /etc/profile ~/.bash_profile or ~/.bash_login or ~/.profile (only one of these files will be read, if it exists. If more than one file … Continue reading

Posted in PC problem | Leave a comment

screen control of a Mac

open  vnc://your-mac-ip-address:5900

Posted in Uncategorized | Leave a comment

wi-fi setup through command line

http://blog.mattcrampton.com/post/64144666914/managing-wifi-connections-using-the-mac-osx Turn off wifi on your macbook from the Mac OSX terminal command line: networksetup -setairportpower en0 off Turn on wifi on your macbook from the Mac OSX terminal command line: networksetup -setairportpower en0 on List available wifi networks from … Continue reading

Posted in Uncategorized | Leave a comment