Task: Create a Shell Function to Change Directory
Task: Create a Shell Function to Change Directory: a task in Terminal-Lego-15k (Harbor dataset). When you run a script that contains a cd command, the directory change only affects the subshell in which the script runs. Once the script finishes, the parent shell's working directory remains…
The task
When you run a script that contains a `cd` command, the directory change only affects the subshell in which the script runs. Once the script finishes, the parent shell's working directory remains unchanged. Your task is to demonstrate understanding of this concept and provide a working solution.
Part of PrimeIntellect/Terminal-Lego-15k.