SUMMARY If I have a konsole session opened in some folder, delete the folder, and put all the files back, konsole will not be able to use those files anymore in the session that is opened, unless first switching to an existing folder and then back. STEPS TO REPRODUCE 1. Create a folder with some executable file. 2. Launch konsole and go to that folder. Do something in there like launching the executable and closing it, but stay in the folder. 3. Delete the folder and re-create it with all its original files. 4. Try to launch the executable from the konsole session that is still opened form step 2. OBSERVED RESULT Does not execute the file, saying it's not there, even though it is. EXPECTED RESULT Should execute the file, since it's there. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux KDE Plasma Version: 5.23.0 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.0-3-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD VEGA10 ADDITIONAL INFORMATION
You deleted the whole folder from underneath the Shell's feet; to make it work again you need to `cd ./`. So this the expected behaviour of the Shell you're using, not Konsole. FWIW, Konsole in such cases would should the string "(deleted)" as part of the tab name.