Task: Navigate to Directory of an Executable Using Command Substitution
Task: Navigate to Directory of an Executable Using Command Substitution: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that finds the directory containing a given executable using which , strips the executable name from the path, and changes to that directory. This…
Part of PrimeIntellect/Terminal-Lego-15k.