When you want to print in shell some symbols, which have special meaning as wildcard for example you can use escape symbol - \ (back slash) or print strings in single quotes:
echo 'select * from v$session'