“ls: not found” after running “read PATH”
The variable name PATH is already reserved for a different purpose: It lists all the possible locations searched to find commands not built into the shell. ls is such a command. Thus, when you change the value of PATH, you change the way the shell tries to look for the ls executable; unless the new … Read more