Why is there a logical operation in bash_profile
Hi, I was taking a look at my bash_profile today to clean it up and noticed this. [[ -f ~/.bashrc ]] && . ~/.bashrc can anyone explain to me what that does? Why compare two values for no reason?
In this archive from Jan 2012 to Feb 2012
Hi, I was taking a look at my bash_profile today to clean it up and noticed this. [[ -f ~/.bashrc ]] && . ~/.bashrc can anyone explain to me what that does? Why compare two values for no reason?
thanks for that
My clock does funny things sometimes as well.
http://wiki.bash-hackers.org/syntax/ccmd/conditional_expression