Wednesday, March 16, 2016

check any update on a webpage


So, you are interested in a webpage and check whether it is updated?

How do you check this?
you bookmark it and visit as and when required to see whether there is any update.


Now, there is a nice website : visualping.io
Just enter the webpage you wish to watch (for any changes happened) and set an alert with your mail id.

visualping  notifies you with an email when there is a change.



Tuesday, March 1, 2016

customize bash prompt color


change the color of the bash terminal string: 

export PS1="\e[0;32m[\u@\h \W]\$ \e[m"

[updated]
export PS1="\[\e[0;32m\]\u@\h:\W\$ \[\e[0m\]"

set the above in ~/.bashrc file.

0;32 -> green color


more here:
http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/