The profile tag has no wiki summary.
18
votes
4answers
1k views
Alternative to .bashrc
Is ~/.bashrc the only place where I can specify user specific ENV Variables, aliases, modifications to PATH variable, etc?
I ask because it seems that ~/.bashrc would be bash only...
6
votes
5answers
4k views
sh startup files over ssh
I have some important commands I need to execute before any sh shell starts. This is required for passing SSH commands in the SSH command (ssh host somecommand) and other programs that run commands.
...
15
votes
2answers
691 views
how can I use bash as my login shell when my sysadmin refuses to let me change it
The unix sysadmin where I'm working is reluctant to give me access to change my login shell from ksh to bash. He has given various excuses, the funniest being that since they write all their scripts ...
1
vote
2answers
8k views
Auto running bash script on login
I wanted to make a script which ran automatically on login so I put it into the file ~/bash.profile, but it didnt run. When I put it in bashrc, it ran on opening a terminal.
What I was doing in the ...
8
votes
2answers
2k views
What is the difference between ~/.profile, ~/.bashrc, ~/.bash_profile, ~/.gnomerc, /etc/bash_bashrc, /etc/screenrc …?
Answers to the questions on SO and askubuntu, along with poking through (and reading headers of) $HOME and /etc/, indicate a number of files that can be used to set environment variables, including:
...
7
votes
2answers
304 views
How can I create a clean shell environment for temporary use?
I am a frequent answerer on a Unix-focused popular Q&A site, and in many of my answers I provide examples using the bash shell. However, each time I do this I have to manually go through the ...
3
votes
2answers
3k views
How to add home directory path to be discovered by Unix which command?
I have installed node.js at custom location and added the location to the $PATH in .profile file.
Hoons-MacBook-Air:npm Eonil$ node --version
v0.6.2
Hoons-MacBook-Air:npm Eonil$ which node
...
1
vote
1answer
243 views
How do I set Keyboard and profile preferences when connecting to Solaris via SSH?
I'm connecting to a Solaris box from Mac OS X. Whenever I have connected to linux boxes in the past it has been much easier to navigate around. How do I fix these configuration issues on Solaris?
...
0
votes
2answers
166 views
.profile in SCO
Where can I find the .profile in my user's logon in SCO?
I am needing to edit it, so I can add a PATH to it, so that my PATH loads up in start up.
I have to add:
echo $PATH
... as I have already ...
0
votes
2answers
4k views
How to set environment variable JAVA_HOME that will be saved on exit? [duplicate]
Possible Duplicate:
How do I set a user environment variable? (permanently, not session)
I use Suse. First was installed jdk7, so JAVA_HOME remains like:
/usr/java/jdk1.7.0_05/
After I ...