VDS Sphera Knowledge Base

Main / Browse Categories / Unix / Linux / How can I add to the $PATH value in my VDS?

Print article Print Article    Email article Email Article

How can I add to the $PATH value in my VDS?
The best way to add something to the $PATH value, or any other variable and make it permanent is to create a .profile file in the root(/) of your VDS.

For example, in order to add /www/bin to the default path, create a file called .profile (notice the dot at the begining of the filename) and write the following line in it:

PATH="$PATH;/www/bin;" 
UPDATED: see this article: http://help.hardhathosting.com/question.php/210

User Comments
How can I add to the $PATH value in my VDS?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 How do I create a symbolic link?
 I need to get "xyz" package installed for our program to work and am having issues compiling it.
 How can I change permissions on my files?
 I noticed "file quota" statistics in my Control Panel. Can you explain what this means as I was not aware there were any limitations on the amount of files that could be placed im my VDS?
 Security Scan Vulnerability False Positives

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »