A common configuration file (e.g. for environment variables) on Unix and Linux systems
0
votes
1answer
53 views
OSX Mountain Lion - .profile doesn't do anything? [duplicate]
Recently tried the package manager Homebrew to grab things like PyQt4. It also recommended grabbing Python; no problem, done.
So a simple python at the Terminal window didn't open the recently ...
0
votes
3answers
182 views
~/.profile is not loaded when using SSH (Ubuntu)
Edited to reflect the problem I really wanted to solve:
I need to set up my ruby environment so I can deploy via Capistrano.
export PATH=$HOME/.rbenv/bin:$PATH
eval "$(rbenv init -)"
I put these ...
0
votes
1answer
84 views
csh -> bash, autostart .bashrc PCBSD (FREEBSD)
Hey Im stucked with this problem...
Im using PCBSD (freebsd) which has default csh shell, now I wanted to use bash as a default so I made
> chsh -s /bin/bash milo
now i have in passwd
> ...
1
vote
1answer
315 views
set PATH permanently
How do I edit my .profile file to set a permanent value for my PATH variable?
Is there any other file that needs editing?
(This is on CentOs 6.2)
3
votes
1answer
296 views
Can't find .profile file in OS X
I'm trying to install TBB (Thread Building Blocks) from Intel onto my Mac. However, no matter where I look, I can't find the .profile file that I require to modify to use TBB.
Any advice or hints on ...
1
vote
1answer
249 views
Order of execution and purpose of .profile vs .zshrc
Few questions:
What is a distinct purpose of .profile and .zshrc?
What gets called first when the shell comes to life?
2
votes
2answers
368 views
re-use '~/.profile` for Fish?
(I'm talking about the shell Fish, esp. Fish's Fish.)
For Bash/ZSH, I had ~/.profile with some exports, aliases and other stuff.
I don't want to have a separate config for environment variables for ...
1
vote
2answers
449 views
What is .profile file in AIX Platform?
In my home path, there is one file named ".profile". It contained ORACLE_HOME path and all.
What is the use of .profile file? Is it similar to .cshrc file?
0
votes
1answer
660 views
How to create .profile file and where it should be saved
Iam very new to Mac OS X 10.6.2 ,i want to create java_home and path. I find that those will be defined in .profile file, how can i create it and where should it be created.
0
votes
3answers
459 views
Edit .profile file without using terminal
I have edited the .profile file and I messed up something so that the PATH has changed and I can't use commands such as nano, sudo, etc...
The problem would be easy to solve because I know how to edit ...
0
votes
3answers
252 views
How to make an alias for a folder on a mounted drive?
I use parallels to run a windows machine and would love to make an alias in my .profile to make a shortcut to my project folder, but the following alias below dosn't seem to work.
alias ...
0
votes
3answers
1k views
.profile not running when I start a bash terminal
When I start a bash terminal, my .profile is not being executed. I do not have a ~/.bash_profile or a ~/.bash_login, so .profile is supposed to run, right? What else could be wrong?
5
votes
1answer
2k views
.profile not loaded (osx lion)
after installing mac ports my .profile looks like this:
# MacPorts Installer addition on 2011-12-04_at_20:48:26: adding an appropriate PATH variable for use with MacPorts.
export ...
1
vote
2answers
362 views
Ubuntu lucid not reading etc profile for new XTerm
I've added abc.sh to /etc/profile.d When I start a new XTerm the environment variables in the abc.sh are not being set in the new XTerm. This works fine if I su - in an existing XTerm.
0
votes
2answers
1k views
Why isn't the shell reading from Bash startup files?
I'm just trying to do the simple task of adding my MySQL directory to the PATH variable so that I can use the mysql, etc. commands in my terminal on my Mac OS X 10.6.6 (Snow Leopard). After ...
1
vote
1answer
2k views
~/.profile is not sourced on startup
I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile
export WORKON_HOME=$HOME/Envs
source ...
0
votes
2answers
570 views
On Mac ~/.profile file went suddenly missing
And with it all my class paths, env vars and aliases. Is this something that can be recovered?
13
votes
4answers
2k views
.profile and .bashrc doesn`t work on my Mac
This problem I have for a long time. After running terminal .profile, and .bashrc file doesn`t work (are not executed). Could you indicate where should I looking form a source of problem?
1
vote
3answers
2k views
Edit bash_profile?
I am trying to learn bash. I am using ubuntu.
I want to add a function. I am not sure weather I need to create a.profile or .bash_profile file so I create both in the ~/ directory.
I add something ...
0
votes
3answers
2k views
“-bash: ls: command not found” error in Terminal on Mac. How to correct it?
I edited the .profile file to add a new PATH. I believe I set it wrong such that most commands become unavailable. Since I can't use ls or vi commands to edit .profile again, any idea how I can ...
1
vote
3answers
408 views
macbook, messed up my .profile and now no commands work like nano, rm, etc
I messed up a .profile and now I can't even get nano to work.
I was trying to add git to my environment variable whenever I start terminal, and I messed the command up obviously and no nothing works.
...
2
votes
2answers
583 views
FreeBSD console broken?
It seems my FreeBSD console is misconfigured (i guess). I cannot use home or end buttons in command line (it prints ~), and in vi left arrow is switching me from edit to command mode, which makes ...
8
votes
5answers
6k views
Bypass ~/.profile on remote login to a linux server
Is there a way to bypass or prevent the execution of ~/.profile when logging into a remote Linux server using either ssh or putty?
13
votes
2answers
36k views
.profile in Mac OS X?
I have set my terminal preferences to execute:
set -o vi
at startup. The problem is I don't get that command executed when open a new terminal tab.
Is there something like .profile in OS X where ...