Adding /usr/X11/bin to the $PATH environment variable

There are a few ways to add the /usr/X11/bin to the $PATH variable. One of the ways of doing so is as follows:


 echo export PATH=\$PATH:/usr/X11/bin >> /etc/profile