Variables Lab, echo $user not working

Noticed that I don’t get anything back from ‘echo $USER’ command.

I closed the Lab and started a new session and get the same issue.

bob@caleston-lp10:~$ echo $USER

bob@caleston-lp10:~$ id
uid=1000(bob) gid=1000(bob) groups=1000(bob)

TRY to redirect output to file
echo $USER >test |cat test

Output from running this from the lab…

bob@caleston-lp10:~$ echo $USER >test |cat test