I am working on bash shell When I type echo $PATH on $ prompt I get the value of path environment variable as
/opt/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
I am creating my own shell and I want to print the path environment variable when user enters echo $PATH. How do I do that?