Linked Questions

2
votes
4answers
3k views

Aliases in .bash_profile do not work

I have added some cd blah blah commands as alias in my .bash_login so as to ease changing directories.It was working fine .Suddenly though none of the aliases in there work .It says command not found ...
3
votes
1answer
1k 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 ...
-1
votes
2answers
1k views

Understanding .bashrc and .bash_profile [duplicate]

Possible Duplicate: When should I put configurations into .bashrc vs into. .bash_profile? I am a n00b when it comes to working in Linux env and would like to know the purpose of .bashrc and ...
4
votes
1answer
757 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
2answers
563 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 ...
2
votes
1answer
816 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 ...
1
vote
3answers
657 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
433 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