Ubuntu: `cd` not working if used in bash script (3 Solutions!!)

Опубликовано: 04 Август 2026
на канале: Roel Van de Paar
212
7

👉 https://amzn.to/4aLHbLD 👈 You’re literally one click away from a better setup — grab it now! 🚀👑

As an Amazon Associate I earn from qualifying purchases. Ubuntu: `cd` not working if used in bash script (3 Solutions!)

Helpful? Please support me on Patreon:   / roelvandepaar  

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free... | Images: https://stocksnap.io/license & others | With thanks to user waltinator (https://askubuntu.com/users/25618), user user123456 (https://askubuntu.com/users/411261), user Sergiy Kolodyazhnyy (https://askubuntu.com/users/295286), user pomsky (https://askubuntu.com/users/480481), user Arkadiusz Drabczyk (https://askubuntu.com/users/386622), and the Stack Exchange Network (http://askubuntu.com/questions/832657). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.