PATH is a list of directories where commands are looked for.
The syntax for setting your path is slightly dependent on the shell you are using. You can type the below command on terminal of you can add the same in your .bashrc (Bash shell) or in .cshrc (csh tcsh shell)
For bash shell:
For tcsh or csh:
set PATH = ($PATH /usr/sbin /usr/local/bin)
If you want to see the existing PATH then run,