how can i change my PATH

  1.  that you are calling the POSIX UNIX commands located under /usr/xpg4/bin instead of those under /usr/bin
    
  2.  that you can run programs from the current directory
    
  3.  that your scripts located in the bin directory under your HOME directory can be found and executed from any location
    
  4.  that you can find and run programs from the system binaries /usr/sbin, the Sun Freeware directory /usr/sfw/bin, directories for additional software such as /opt/bin, /usr/local/bin and /usr/local/sbin
    
5.      search the location for the perl 5 binaries, such as perldoc, and add that location to your PATH

i tried this tow path but it's not working

� PATH=/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/opt/bin:/usr/local/bin:/usr/local/sbin:/usr/perl5/bin/perldoc:/export/home/bin:/$HOME:/etc:.

export PATH=$PATH:/usr/xpg4/bin:/usr/bin:/export/home/vpatel44/bin:/usr/sbin:/usr/sfw/bin:/opt/bin:/usr/local/bin:/usr/local/sbin:/usr/perl5/pod:/etc/:.

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.