[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange behavior after removing folder
From: |
Батунин Сергей |
Subject: |
Strange behavior after removing folder |
Date: |
Mon, 15 Jul 2024 01:39:31 +0700 |
Configuration Information
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
-fdebug-prefix-map=/build/bash-Smvct5/bash-5.0=.
-fstack-protector-strong -Wformat ->
uname output: Linux bab-VirtualBox 5.15.0-87-generic #97~20.04.1-Ubuntu
SMP Thu Oct 5 08:25:28 UTC 2023 x86_64 >
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0
Patch Level: 17
Release Status: release
Description:
I entered the following commands:
cd
mkdir a
cd a
rmdir $PWD
cd .
Then my $PWD became /a/./
Also, i entered
cd ./////.
Now my $PWD is ~/a/././////.
Then I pressed ctrl+shift+t , and now in new window my $PWD=/
Is it correct behavior?
- Strange behavior after removing folder,
Батунин Сергей <=