Thursday, December 15, 2011

What is the output of the following Linux 'if' statement?

Given the following variable declarations,


HOME=/home/raem


BINDIR=/home/raem/bin





What is the output of the following if statement?


if [ $HOME/bin = $BINDIR ] ; then


echo "Your binaries are stored in your home directory."


fi|||Your binaries are stored in your home directory.|||Learn it man. I not gona do a homework for you. Its easy just read the book hell!

No comments:

Post a Comment