Task: Create a Directory Navigation Utility in Bash
Task: Create a Directory Navigation Utility in Bash: a task in Terminal-Lego-15k (Harbor dataset). When you run a Bash script normally, it executes in a subshell. Any directory changes made within that subshell do not affect the parent shell's current working directory. Your task is to create a…
The task
When you run a Bash script normally, it executes in a subshell. Any directory changes made within that subshell do not affect the parent shell's current working directory. Your task is to create a solution that allows a script to change the current directory of the calling shell.
Part of PrimeIntellect/Terminal-Lego-15k.