Linked Questions

3
votes
1answer
813 views

Where do I initialize my environment when the shell loads?

I am using bash shell and have content in my .bashrc. When Terminal app opens (on my mac), this file however is not initialized. I am always able to manually . ./.bashrc, however i'd rather not have ...
4
votes
1answer
607 views

Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?

In an attempt to "properly" implement a standard configuration of my preferred shell, bash, for use across multiple platforms, I've come across some confusion when dealing with terminals that are ...
2
votes
1answer
768 views

Why is there a .bash_profile and .bashrc, they seem to do the same thing? [duplicate]

Possible Duplicates: When does mac/ubuntu use .bash_profile and/or .bashrc? Difference between .bashrc and .bash_profile I loaded up ubuntu on a vm on my windows computer, and my ...
2
votes
2answers
455 views

Confused about setting environment variables

I've been trying to set some environment variables for hours and it does not work grml Here the setting: I use Debian 6 and there the terminal from the desktop. In this window, I type "su" to login ...
1
vote
3answers
589 views

Custom command in terminal with a variable

Redhat Linux Enterprise Editing a terminal profile -- Run a custom command instead of my shell Custom command: tail -3000f /home/user1/folder/$PROJECT/folder2/folder3/text.log When I save it and ...
1
vote
1answer
399 views

When does mac/ubuntu use .bash_profile and/or .bashrc? [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile Are they both the same type of file in terms of setting the bash terminal settings, and if no .bash_profile exists then it ...

15 30 50 per page