Bug 122108 - Bash problem with cd
Bash problem with cd
Product: Fedora
Classification: Fedora
Component: setup (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-04-30 11:37 EDT by John Rigsby
Modified: 2014-03-16 22:44 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-23 01:45:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Rigsby 2004-04-30 11:37:36 EDT
Description of problem:
A directory called \ causes bash to hang up
It doesnt hang up tcsh

Version-Release number of selected component (if applicable):

How reproducible: It does this on my machine.  I got a friend to try
it out and it did the same thing on his machine

Steps to Reproduce:
1. mkdir /tmp/bug
2. cd /tmp/bug
3. mkdir \\
4. cd \\

Actual results: shell hangs up

Expected results: should be able to cd into the directory

Additional info:
Comment 1 Tim Waugh 2004-04-30 11:48:01 EDT
This comes from the PROMPT_COMMAND environment variable, defined in
/etc/bashrc.  You can work around it with 'unset PROMPT_COMMAND'.
Comment 2 Bill Nottingham 2004-09-23 01:45:18 EDT
This seems to work for me in current releases.

Note You need to log in before you can comment on or make changes to this bug.