Gaxus
07-30-2002, 04:51 AM
HMmmm
Well I want to pass the file 'profile' into xterm so when I load it , all my settings are up...
Is there a way to do this???!?!
SIDE NOTE- kinda related....
I also want to do the same thing with SU-- pass the root/.profile into it so all the paths and stuff are set up.....
The only way I can think of is to 'source' the profile....... yet when I try:
'xterm -e source /etc/profile'
it comes up with "Can't execvp source: No such file or directory"
Now I hardly know what 'source' is ....... even if I try to "find /* -mount -type f | grep source" I don't see it!!!
Anyway.....
Even if that worked, there would be the problem of keeping the xterm window open......
Thanks in advance. :confused:
Well I want to pass the file 'profile' into xterm so when I load it , all my settings are up...
Is there a way to do this???!?!
SIDE NOTE- kinda related....
I also want to do the same thing with SU-- pass the root/.profile into it so all the paths and stuff are set up.....
The only way I can think of is to 'source' the profile....... yet when I try:
'xterm -e source /etc/profile'
it comes up with "Can't execvp source: No such file or directory"
Now I hardly know what 'source' is ....... even if I try to "find /* -mount -type f | grep source" I don't see it!!!
Anyway.....
Even if that worked, there would be the problem of keeping the xterm window open......
Thanks in advance. :confused: