> Source: [sk65842](https://support.checkpoint.com/results/sk/sk65842)

# sk65842 - bash-2.05b prompt when logging into expert mode.

| Property | Value |
|----------|-------|
| Solution ID | sk65842 |
| Date Created | 2011-11-22 |
| Last Modified | 2011-11-22 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R82.20, R81.20, R82, R82.20 |

## Symptoms

- When logging into expert mode, instead of the normal expert mode prompt, #bash-2.05b is displayed instead.

## Cause

The .bashrc file is missing from the user's home directory (i.e. /home/admin).

## Solution

The .bashrc file needs to be created in the user's home directory. The solution below assumes the user is 'admin' please modify to include the proper user experiencing the issue.

1. Create the .bashrc file with the following command:  
#touch /home/admin/.bashrc

2. Open the file with the vi editor:  
#vi /home/admin/.bashrc

3. Add the following to the file:  
if \[ -f /etc/bashrc \]; then   
. /etc/bashrc   
fi

4. Save and exit the file.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
