To check the PATH variable value , run the command echo $PATH in current user shell means when you run the command in terminal it shows the PATH value for current login user in terminal.