in ubuntu 7.04 I do not find the /etc/profile subdirectory

Asked by cisraelc

I wonted to add some software which demands to create active access to PATH - by exporting the name of path and I tried to check if the command was executed. The outcome of the command was supposed to be in bash_profile script in /etc/profile subdirectory.

thanks israel

Question information

Language:
English Edit question
Status:
Answered
For:
libswitch Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Cortès (olive) said :
#1

Hi,

/etc/profile is not a directory but a file, and it is present on my 7.04 installation. /etc/profile is sourced by bash, you can put your PATH modification in it, like this :

-------8<------8<--------

PATH="$PATH:/path/to/my/app"
export PATH

-------8<------8<--------

regards,
Olivier

Can you help with this problem?

Provide an answer of your own, or ask cisraelc for more information if necessary.

To post a message you must log in.