Thursday, August 1, 2013

bash: autojump_add_to_database: command not found

Linux terminal shows the below error when .bashrc file does not exist in user's home folder.

Somebody may delete the .bashrc file unknowingly.

Error : bash: autojump_add_to_database: command not found

To solve this issue.

1. Open terminal.
2. $ vi .bashrc
3. Copy and Paste the below script


# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions

4. Save the file.
5. Now that bash error gets vanished.

If it is not work then you can copy the contents of .bashrc file from another user in that same system and paste it in user who faced this issue.

No comments:

Post a Comment